1error: free static item without body 2 --> $DIR/item-free-static-no-body-semantic-fail.rs:5:1 3 | 4LL | static A: u8; 5 | ^^^^^^^^^^^^- 6 | | 7 | help: provide a definition for the static: `= <expr>;` 8 9error: free static item without body 10 --> $DIR/item-free-static-no-body-semantic-fail.rs:6:1 11 | 12LL | static B; 13 | ^^^^^^^^- 14 | | 15 | help: provide a definition for the static: `= <expr>;` 16 17error: free static item without body 18 --> $DIR/item-free-static-no-body-semantic-fail.rs:9:1 19 | 20LL | static mut C: u8; 21 | ^^^^^^^^^^^^^^^^- 22 | | 23 | help: provide a definition for the static: `= <expr>;` 24 25error: free static item without body 26 --> $DIR/item-free-static-no-body-semantic-fail.rs:10:1 27 | 28LL | static mut D; 29 | ^^^^^^^^^^^^- 30 | | 31 | help: provide a definition for the static: `= <expr>;` 32 33error: missing type for `static` item 34 --> $DIR/item-free-static-no-body-semantic-fail.rs:6:9 35 | 36LL | static B; 37 | ^ help: provide a type for the item: `: <type>` 38 39error: missing type for `static mut` item 40 --> $DIR/item-free-static-no-body-semantic-fail.rs:10:13 41 | 42LL | static mut D; 43 | ^ help: provide a type for the item: `: <type>` 44 45error: aborting due to 6 previous errors 46 47