1 warning: lint `private_no_mangle_fns` has been removed: `no longer a warning, `#[no_mangle]` functions always exported`
3 = note: requested on the command line with `-F private_no_mangle_fns`
5 warning: lint `private_no_mangle_statics` has been removed: `no longer a warning, `#[no_mangle]` statics always exported`
7 = note: requested on the command line with `-F private_no_mangle_statics`
9 warning: lint `private_no_mangle_fns` has been removed: `no longer a warning, `#[no_mangle]` functions always exported`
11 = note: requested on the command line with `-F private_no_mangle_fns`
13 warning: lint `private_no_mangle_statics` has been removed: `no longer a warning, `#[no_mangle]` statics always exported`
15 = note: requested on the command line with `-F private_no_mangle_statics`
17 warning: lint `private_no_mangle_fns` has been removed: `no longer a warning, `#[no_mangle]` functions always exported`
19 = note: requested on the command line with `-F private_no_mangle_fns`
21 warning: lint `private_no_mangle_statics` has been removed: `no longer a warning, `#[no_mangle]` statics always exported`
23 = note: requested on the command line with `-F private_no_mangle_statics`
25 warning: lint `private_no_mangle_fns` has been removed: `no longer a warning, `#[no_mangle]` functions always exported`
27 = note: requested on the command line with `-F private_no_mangle_fns`
29 warning: lint `private_no_mangle_statics` has been removed: `no longer a warning, `#[no_mangle]` statics always exported`
31 = note: requested on the command line with `-F private_no_mangle_statics`
33 error: const items should never be `#[no_mangle]`
34 --> $DIR/lint-unexported-no-mangle.rs:9:1
36 LL | const FOO: u64 = 1;
39 | help: try a static value: `pub static`
41 = note: requested on the command line with `-F no-mangle-const-items`
43 error: const items should never be `#[no_mangle]`
44 --> $DIR/lint-unexported-no-mangle.rs:12:1
46 LL | pub const PUB_FOO: u64 = 1;
47 | ---------^^^^^^^^^^^^^^^^^^
49 | help: try a static value: `pub static`
51 error: aborting due to 2 previous errors