15 lines
343 B
Plaintext
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`.
|