about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-07-24 04:31:11 +0900
committerGitHub <noreply@github.com>2021-07-24 04:31:11 +0900
commit3fc79fde63cfa8472e8c867c0a54de58cffb5cd0 (patch)
tree3c2fd5582b70f542e5fb60d4826cb78097efd37a /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
parent82a14e57e7754310dd78c08386d801a33555d2f6 (diff)
parenta1518f091552afdf370c699a359af0b7d34e402d (diff)
downloadrust-3fc79fde63cfa8472e8c867c0a54de58cffb5cd0.tar.gz
rust-3fc79fde63cfa8472e8c867c0a54de58cffb5cd0.zip
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`
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions