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