2018-12-03 19:45:25 -06:00
|
|
|
error: macro requires a boolean expression as an argument
|
|
|
|
--> $DIR/assert.rs:2:5
|
|
|
|
|
|
|
|
|
LL | assert!(); //~ ERROR requires a boolean expression
|
|
|
|
| ^^^^^^^^^^ boolean expression required
|
|
|
|
|
2018-12-04 13:10:32 -06:00
|
|
|
error: expected expression, found keyword `struct`
|
|
|
|
--> $DIR/assert.rs:3:13
|
|
|
|
|
|
|
|
|
LL | assert!(struct); //~ ERROR expected expression
|
|
|
|
| ^^^^^^ expected expression
|
|
|
|
|
2018-12-03 19:45:25 -06:00
|
|
|
error: macro requires a boolean expression as an argument
|
2018-12-04 13:10:32 -06:00
|
|
|
--> $DIR/assert.rs:4:5
|
2018-12-03 19:45:25 -06:00
|
|
|
|
|
|
|
|
LL | debug_assert!(); //~ ERROR requires a boolean expression
|
|
|
|
| ^^^^^^^^^^^^^^^^ boolean expression required
|
|
|
|
|
|
|
|
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|
|
|
|
|
2018-12-04 13:10:32 -06:00
|
|
|
error: expected expression, found keyword `struct`
|
|
|
|
--> $DIR/assert.rs:5:19
|
|
|
|
|
|
|
|
|
LL | debug_assert!(struct); //~ ERROR expected expression
|
|
|
|
| ^^^^^^ expected expression
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
2018-12-03 19:45:25 -06:00
|
|
|
|