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