summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-45562.stderr
blob: be259d3f8a49e0399afeed8356948ddcef8c8614 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error: const items should never be `#[no_mangle]`
  --> $DIR/issue-45562.rs:3:14
   |
LL | #[no_mangle] pub const RAH: usize = 5;
   |              ---------^^^^^^^^^^^^^^^^
   |              |
   |              help: try a static value: `pub static`
   |
   = note: `#[deny(no_mangle_const_items)]` on by default

error: aborting due to previous error