rust/src/test/ui/resolve/resolve-hint-macro.stderr

15 lines
343 B
Text
Raw Normal View History

error[E0423]: expected function, found macro `assert`
2018-12-25 08:56:47 -07:00
--> $DIR/resolve-hint-macro.rs:2:5
|
2018-02-23 03:42:32 +03:00
LL | assert(true);
2020-08-09 21:24:05 -07:00
| ^^^^^^ not a function
|
help: use `!` to invoke the macro
|
LL | assert!(true);
| ^
error: aborting due to previous error
2018-03-03 15:59:40 +01:00
For more information about this error, try `rustc --explain E0423`.