1 error: extern items cannot be `const`
2 --> $DIR/foreign-const-semantic-fail.rs:4:11
5 | ------ in this `extern` block
9 | help: try using a static value: `static`
11 = note: for more information, visit https://doc.rust-lang.org/std/keyword.extern.html
13 error: extern items cannot be `const`
14 --> $DIR/foreign-const-semantic-fail.rs:6:11
17 | ------ in this `extern` block
19 LL | const B: isize = 42;
22 | help: try using a static value: `static`
24 = note: for more information, visit https://doc.rust-lang.org/std/keyword.extern.html
26 error: aborting due to 2 previous errors