]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0192.stderr
Auto merge of #70415 - Centril:rollup-1zttfvl, r=Centril
[rust.git] / src / test / ui / error-codes / E0192.stderr
1 error[E0192]: invalid negative impl
2   --> $DIR/E0192.rs:9:6
3    |
4 LL | impl !Trait for Foo { }
5    |      ^^^^^^
6    |
7    = note: negative impls are only allowed for auto traits, like `Send` and `Sync`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0192`.