rust/src/test/ui/error-codes/E0600.stderr

12 lines
341 B
Plaintext
Raw Normal View History

2018-02-07 21:35:35 -06:00
error[E0600]: cannot apply unary operator `!` to type `&'static str`
--> $DIR/E0600.rs:12:5
|
2018-02-22 18:42:32 -06:00
LL | !"a"; //~ ERROR E0600
2018-02-07 21:35:35 -06:00
| ^^^^
2018-04-22 12:35:21 -05:00
|
= note: an implementation of `std::ops::Not` might be missing for `&'static str`
2018-02-07 21:35:35 -06:00
error: aborting due to previous error
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0600`.