fork/rust

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

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

master
1.6 KiB54 linesraw
1warning: private item shadows public glob re-export
2  --> $DIR/hidden_glob_reexports.rs:9:5
3   |
4LL |     struct Foo;
5   |     ^^^^^^^^^^^
6   |
7note: the name `Foo` in the type namespace is supposed to be publicly re-exported here
8  --> $DIR/hidden_glob_reexports.rs:12:13
9   |
10LL |     pub use self::inner::*;
11   |             ^^^^^^^^^^^^^^
12note: but the private item here shadows it
13  --> $DIR/hidden_glob_reexports.rs:9:5
14   |
15LL |     struct Foo;
16   |     ^^^^^^^^^^^
17   = note: `#[warn(hidden_glob_reexports)]` on by default
18
19warning: private item shadows public glob re-export
20  --> $DIR/hidden_glob_reexports.rs:27:9
21   |
22LL |     use self::other::Foo;
23   |         ^^^^^^^^^^^^^^^^
24   |
25note: the name `Foo` in the type namespace is supposed to be publicly re-exported here
26  --> $DIR/hidden_glob_reexports.rs:25:13
27   |
28LL |     pub use self::inner::*;
29   |             ^^^^^^^^^^^^^^
30note: but the private item here shadows it
31  --> $DIR/hidden_glob_reexports.rs:27:9
32   |
33LL |     use self::other::Foo;
34   |         ^^^^^^^^^^^^^^^^
35
36warning: private item shadows public glob re-export
37  --> $DIR/hidden_glob_reexports.rs:40:9
38   |
39LL |     use std::primitive::u8;
40   |         ^^^^^^^^^^^^^^^^^^
41   |
42note: the name `u8` in the type namespace is supposed to be publicly re-exported here
43  --> $DIR/hidden_glob_reexports.rs:38:13
44   |
45LL |     pub use self::no_def_id::*;
46   |             ^^^^^^^^^^^^^^^^^^
47note: but the private item here shadows it
48  --> $DIR/hidden_glob_reexports.rs:40:9
49   |
50LL |     use std::primitive::u8;
51   |         ^^^^^^^^^^^^^^^^^^
52
53warning: 3 warnings emitted
54