rust/compiler/rustc_trait_selection
Yuki Okushi 3fc79fde63
Rollup merge of #87322 - chazkiker2:fix/suggestion-ref-sync-send, r=estebank
fix: clarify suggestion that `&T` must refer to `T: Sync` for `&T: Send`

### Description

- [x] fix #86507
- [x] add UI test for relevant code from issue
- [x] change `rustc_trait_selection/src/traits/error_reporting/suggestions.rs` to include a more clear suggestion when `&T` fails to satisfy `Send` bounds due to the fact that `T` fails to implement `Sync`
- [x] update UI test in Clippy: `src/tools/tests/ui/future_not_send.stderr`
2021-07-24 04:31:11 +09:00
..
src Rollup merge of #87322 - chazkiker2:fix/suggestion-ref-sync-send, r=estebank 2021-07-24 04:31:11 +09:00
Cargo.toml bumped smallvec deps 2021-02-14 18:03:11 +03:00