summaryrefslogtreecommitdiffstats
path: root/tests/ui/extern/extern-const.stderr
blob: 7f67adbdb19c718061798bd3d9010dd4b0cea5a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error: extern items cannot be `const`
  --> $DIR/extern-const.rs:16:11
   |
LL |     const rust_dbg_static_mut: libc::c_int;
   |     ------^^^^^^^^^^^^^^^^^^^
   |     |
   |     help: try using a static value: `static`
   |
   = note: for more information, visit https://doc.rust-lang.org/std/keyword.extern.html

error: aborting due to previous error