1 warning: lint `private_no_mangle_fns` has been removed: `no longer an 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 an warning, #[no_mangle] statics always exported`
7 = note: requested on the command line with `-F private_no_mangle_statics`
9 error: const items should never be #[no_mangle]
10 --> $DIR/lint-unexported-no-mangle.rs:19:1
12 LL | const FOO: u64 = 1; //~ ERROR const items should never be #[no_mangle]
15 | help: try a static value: `pub static`
17 = note: requested on the command line with `-F no-mangle-const-items`
19 error: const items should never be #[no_mangle]
20 --> $DIR/lint-unexported-no-mangle.rs:22:1
22 LL | pub const PUB_FOO: u64 = 1; //~ ERROR const items should never be #[no_mangle]
23 | ---------^^^^^^^^^^^^^^^^^^
25 | help: try a static value: `pub static`
27 error: aborting due to 2 previous errors