fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error: extern items cannot be `const` 2 --> $DIR/foreign-const-syntactic-fail.rs:7:11 3 | 4LL | const A: isize; 5 | ------^ 6 | | 7 | help: try using a static value: `static` 8 | 9 = note: for more information, visit https://doc.rust-lang.org/std/keyword.extern.html 10 11error: extern items cannot be `const` 12 --> $DIR/foreign-const-syntactic-fail.rs:8:11 13 | 14LL | const B: isize = 42; 15 | ------^ 16 | | 17 | help: try using a static value: `static` 18 | 19 = note: for more information, visit https://doc.rust-lang.org/std/keyword.extern.html 20 21error: aborting due to 2 previous errors 22