]> git.lizzy.rs Git - rust.git/blob - src/test/ui/extern/extern-const.stderr
Rollup merge of #97317 - GuillaumeGomez:gui-settings-text-click, r=jsha
[rust.git] / src / test / ui / extern / extern-const.stderr
1 error: extern items cannot be `const`
2   --> $DIR/extern-const.rs:16:11
3    |
4 LL |     const rust_dbg_static_mut: libc::c_int;
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
11 error: aborting due to previous error
12