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