fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error: free constant item without body 2 --> $DIR/item-free-const-no-body-semantic-fail.rs:5:1 3 | 4LL | const A: u8; 5 | ^^^^^^^^^^^- 6 | | 7 | help: provide a definition for the constant: `= <expr>;` 8 9error: free constant item without body 10 --> $DIR/item-free-const-no-body-semantic-fail.rs:6:1 11 | 12LL | const B; 13 | ^^^^^^^- 14 | | 15 | help: provide a definition for the constant: `= <expr>;` 16 17error: missing type for `const` item 18 --> $DIR/item-free-const-no-body-semantic-fail.rs:6:7 19 | 20LL | const B; 21 | ^ help: provide a type for the item: `B: [type error]` 22 23error: aborting due to 3 previous errors 24