about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/usefulness.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-02 10:09:38 +0100
committerGitHub <noreply@github.com>2024-03-02 10:09:38 +0100
commit07bd4590fb0ed1effc8eb42ae3f4cd47bc7f2e3e (patch)
treedf9bc2a176318b29b8fc694f25d4d75777fe3764 /compiler/rustc_pattern_analysis/src/usefulness.rs
parentc95f485744b4fa80a2fea606825dbbb787f8a36b (diff)
parent7f97dfe700be69d359eaebf97275285f8a85faf4 (diff)
downloadrust-07bd4590fb0ed1effc8eb42ae3f4cd47bc7f2e3e.tar.gz
rust-07bd4590fb0ed1effc8eb42ae3f4cd47bc7f2e3e.zip
Rollup merge of #121875 - estebank:e0277-drive-by, r=compiler-errors
 Account for unmet T: !Copy in E0277 message

```
error[E0277]: the trait bound `T: !Copy` is not satisfied
  --> $DIR/simple.rs:10:16
   |
LL |     not_copy::<T>();
   |                ^ the trait bound `T: !Copy` is not satisfied
```
instead of the current

```
error[E0277]: the trait bound `T: !Copy` is not satisfied
  --> $DIR/simple.rs:10:16
   |
LL |     not_copy::<T>();
   |                ^ the trait `!Copy` is not implemented for `T`
```
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/usefulness.rs')
0 files changed, 0 insertions, 0 deletions