fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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