rust/compiler/rustc_trait_selection/src
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
..
traits Rollup merge of #87322 - chazkiker2:fix/suggestion-ref-sync-send, r=estebank 2021-07-24 04:31:11 +09:00
autoderef.rs Combine individual limit queries into single limits query 2021-07-04 13:02:51 -05:00
infer.rs Add initial implementation of HIR-based WF checking for diagnostics 2021-07-16 16:29:02 -05:00
lib.rs remove cfg(bootstrap) 2021-05-24 11:07:48 -04:00
opaque_types.rs Use instrument debugging for more readable logs 2021-07-22 11:20:29 +00:00