]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/item-free-static-no-body-semantic-fail.stderr
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / test / ui / parser / item-free-static-no-body-semantic-fail.stderr
1 error: free static item without body
2 --> $DIR/item-free-static-no-body-semantic-fail.rs:5:1
3 |
4 LL | static A: u8;
5 | ^^^^^^^^^^^^-
6 | |
7 | help: provide a definition for the static: `= <expr>;`
8
9 error: free static item without body
10 --> $DIR/item-free-static-no-body-semantic-fail.rs:6:1
11 |
12 LL | static B;
13 | ^^^^^^^^-
14 | |
15 | help: provide a definition for the static: `= <expr>;`
16
17 error: free static item without body
18 --> $DIR/item-free-static-no-body-semantic-fail.rs:8:1
19 |
20 LL | static mut C: u8;
21 | ^^^^^^^^^^^^^^^^-
22 | |
23 | help: provide a definition for the static: `= <expr>;`
24
25 error: free static item without body
26 --> $DIR/item-free-static-no-body-semantic-fail.rs:9:1
27 |
28 LL | static mut D;
29 | ^^^^^^^^^^^^-
30 | |
31 | help: provide a definition for the static: `= <expr>;`
32
33 error: aborting due to 4 previous errors
34