This commit is contained in:
Shotaro Yamada 2018-03-08 03:05:58 +09:00
parent 517083fbad
commit cb5be1bb4c
2 changed files with 1 additions and 2 deletions

View File

@ -10,4 +10,5 @@
fn main() {
assert!("foo");
//~^ ERROR cannot apply unary operator `!`
}

View File

@ -3,8 +3,6 @@ error[E0600]: cannot apply unary operator `!` to type `&'static str`
|
LL | assert!("foo");
| ^^^^^^^^^^^^^^^
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error: aborting due to previous error