fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1warning: lint `private_no_mangle_fns` has been removed: `no longer a warning, `#[no_mangle]` functions always exported` 2 | 3 = note: requested on the command line with `-F private_no_mangle_fns` 4 5warning: lint `private_no_mangle_statics` has been removed: `no longer a warning, `#[no_mangle]` statics always exported` 6 | 7 = note: requested on the command line with `-F private_no_mangle_statics` 8 9warning: lint `private_no_mangle_fns` has been removed: `no longer a warning, `#[no_mangle]` functions always exported` 10 | 11 = note: requested on the command line with `-F private_no_mangle_fns` 12 13warning: lint `private_no_mangle_statics` has been removed: `no longer a warning, `#[no_mangle]` statics always exported` 14 | 15 = note: requested on the command line with `-F private_no_mangle_statics` 16 17warning: lint `private_no_mangle_fns` has been removed: `no longer a warning, `#[no_mangle]` functions always exported` 18 | 19 = note: requested on the command line with `-F private_no_mangle_fns` 20 21warning: lint `private_no_mangle_statics` has been removed: `no longer a warning, `#[no_mangle]` statics always exported` 22 | 23 = note: requested on the command line with `-F private_no_mangle_statics` 24 25warning: lint `private_no_mangle_fns` has been removed: `no longer a warning, `#[no_mangle]` functions always exported` 26 | 27 = note: requested on the command line with `-F private_no_mangle_fns` 28 29warning: lint `private_no_mangle_statics` has been removed: `no longer a warning, `#[no_mangle]` statics always exported` 30 | 31 = note: requested on the command line with `-F private_no_mangle_statics` 32 33error: const items should never be `#[no_mangle]` 34 --> $DIR/lint-unexported-no-mangle.rs:9:1 35 | 36LL | const FOO: u64 = 1; 37 | -----^^^^^^^^^^^^^^ 38 | | 39 | help: try a static value: `pub static` 40 | 41 = note: requested on the command line with `-F no-mangle-const-items` 42 43error: const items should never be `#[no_mangle]` 44 --> $DIR/lint-unexported-no-mangle.rs:12:1 45 | 46LL | pub const PUB_FOO: u64 = 1; 47 | ---------^^^^^^^^^^^^^^^^^^ 48 | | 49 | help: try a static value: `pub static` 50 51error: aborting due to 2 previous errors 52