2018-12-03 19:45:25 -06:00
|
|
|
error: macro requires a boolean expression as an argument
|
2022-06-15 05:37:40 -05:00
|
|
|
--> $DIR/assert.rs:5:5
|
2018-12-03 19:45:25 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | assert!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| ^^^^^^^^^ boolean expression required
|
2018-12-03 19:45:25 -06:00
|
|
|
|
2018-12-04 13:10:32 -06:00
|
|
|
error: expected expression, found keyword `struct`
|
2022-06-15 05:37:40 -05:00
|
|
|
--> $DIR/assert.rs:6:13
|
2018-12-04 13:10:32 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | assert!(struct);
|
2018-12-04 13:10:32 -06:00
|
|
|
| ^^^^^^ expected expression
|
|
|
|
|
2018-12-03 19:45:25 -06:00
|
|
|
error: macro requires a boolean expression as an argument
|
2022-06-15 05:37:40 -05:00
|
|
|
--> $DIR/assert.rs:7:5
|
2018-12-03 19:45:25 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | debug_assert!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| ^^^^^^^^^^^^^^^ boolean expression required
|
2018-12-03 19:45:25 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `debug_assert` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-12-03 19:45:25 -06:00
|
|
|
|
2018-12-04 13:10:32 -06:00
|
|
|
error: expected expression, found keyword `struct`
|
2022-06-15 05:37:40 -05:00
|
|
|
--> $DIR/assert.rs:8:19
|
2018-12-04 13:10:32 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | debug_assert!(struct);
|
2018-12-04 13:10:32 -06:00
|
|
|
| ^^^^^^ expected expression
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
2018-12-03 19:45:25 -06:00
|
|
|
|