2017-05-27 19:34:59 +00:00
|
|
|
error[E0600]: cannot apply unary operator `!` to type `&'static str`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-28308.rs:2:5
|
2016-08-17 14:20:04 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | assert!("foo");
|
2021-10-14 18:28:28 +00:00
|
|
|
| ^^^^^^^^^^^^^^ cannot apply unary operator `!`
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `assert` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2016-08-17 14:20:04 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2016-08-17 14:20:04 +00:00
|
|
|
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about this error, try `rustc --explain E0600`.
|