fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.8 KiB45 linesraw
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   = note: `#[warn(renamed_and_removed_lints)]` on by default
5
6warning: lint `private_no_mangle_statics` has been removed: no longer a warning, `#[no_mangle]` statics always exported
7   |
8   = note: requested on the command line with `-F private_no_mangle_statics`
9
10warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported
11   |
12   = note: requested on the command line with `-F private_no_mangle_fns`
13
14warning: lint `private_no_mangle_statics` has been removed: no longer a warning, `#[no_mangle]` statics always exported
15   |
16   = note: requested on the command line with `-F private_no_mangle_statics`
17
18warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported
19   |
20   = note: requested on the command line with `-F private_no_mangle_fns`
21
22warning: lint `private_no_mangle_statics` has been removed: no longer a warning, `#[no_mangle]` statics always exported
23   |
24   = note: requested on the command line with `-F private_no_mangle_statics`
25
26error: const items should never be `#[no_mangle]`
27  --> $DIR/lint-unexported-no-mangle.rs:9:1
28   |
29LL | const FOO: u64 = 1;
30   | -----^^^^^^^^^^^^^^
31   | |
32   | help: try a static value: `pub static`
33   |
34   = note: requested on the command line with `-F no-mangle-const-items`
35
36error: const items should never be `#[no_mangle]`
37  --> $DIR/lint-unexported-no-mangle.rs:12:1
38   |
39LL | pub const PUB_FOO: u64 = 1;
40   | ---------^^^^^^^^^^^^^^^^^^
41   | |
42   | help: try a static value: `pub static`
43
44error: aborting due to 2 previous errors; 6 warnings emitted
45