rust/src/test/ui/resolve/resolve-hint-macro.stderr
2020-08-10 12:04:10 -07:00

15 lines
343 B
Plaintext

error[E0423]: expected function, found macro `assert`
--> $DIR/resolve-hint-macro.rs:2:5
|
LL | assert(true);
| ^^^^^^ not a function
|
help: use `!` to invoke the macro
|
LL | assert!(true);
| ^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0423`.