fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error: macro requires a boolean expression as an argument 2 --> $DIR/assert.rs:2:5 3 | 4LL | assert!(); 5 | ^^^^^^^^^^ boolean expression required 6 7error: expected expression, found keyword `struct` 8 --> $DIR/assert.rs:3:13 9 | 10LL | assert!(struct); 11 | ^^^^^^ expected expression 12 13error: macro requires a boolean expression as an argument 14 --> $DIR/assert.rs:4:5 15 | 16LL | debug_assert!(); 17 | ^^^^^^^^^^^^^^^^ boolean expression required 18 | 19 = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) 20 21error: expected expression, found keyword `struct` 22 --> $DIR/assert.rs:5:19 23 | 24LL | debug_assert!(struct); 25 | ^^^^^^ expected expression 26 27error: aborting due to 4 previous errors 28