rust/tests/ui/macros/assert.without-generic-asset.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
813 B
Plaintext
Raw Normal View History

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