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