1 error: incorrect `static` inside `extern` block
2 --> $DIR/foreign-static-semantic-fail.rs:6:12
5 | ------ `extern` blocks define existing foreign statics and statics inside of them cannot have a body
11 = note: for more information, visit https://doc.rust-lang.org/std/keyword.extern.html
13 error: incorrect `static` inside `extern` block
14 --> $DIR/foreign-static-semantic-fail.rs:7:16
17 | ------ `extern` blocks define existing foreign statics and statics inside of them cannot have a body
18 LL | static X: u8 = 0;
19 LL | static mut Y: u8 = 0;
20 | ^ - the invalid body
24 = note: for more information, visit https://doc.rust-lang.org/std/keyword.extern.html
26 error: aborting due to 2 previous errors