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