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

12 lines
341 B
Plaintext
Raw Normal View History

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