fork/rust

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

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

master
655 B24 linesraw
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:8
19   |
20LL | const B;
21   |        ^ help: provide a type for the item: `: <type>`
22
23error: aborting due to 3 previous errors
24