]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/removed-syntax-extern-const.stderr
Rollup merge of #67005 - andrewbanchich:master, r=joshtriplett
[rust.git] / src / test / ui / parser / removed-syntax-extern-const.stderr
1 error: extern items cannot be `const`
2   --> $DIR/removed-syntax-extern-const.rs:2:5
3    |
4 LL |     const i: isize;
5    |     ^^^^^ help: try using a static value: `static`
6
7 error: aborting due to previous error
8