fork/rust

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

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

master
1.4 KiB36 linesraw
1warning: ambiguous glob re-exports
2  --> $DIR/ambiguous-1.rs:11:13
3   |
4LL |     pub use self::evp::*;
5   |             ^^^^^^^^^^^^ the name `id` in the value namespace is first re-exported here
6LL |
7LL |     pub use self::handwritten::*;
8   |             -------------------- but the name `id` in the value namespace is also re-exported here
9   |
10   = note: `#[warn(ambiguous_glob_reexports)]` on by default
11
12warning: `id` is ambiguous
13  --> $DIR/ambiguous-1.rs:27:5
14   |
15LL |     id();
16   |     ^^ ambiguous name
17   |
18   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
19   = note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
20   = note: ambiguous because of multiple glob imports of a name in the same module
21note: `id` could refer to the function imported here
22  --> $DIR/ambiguous-1.rs:11:13
23   |
24LL |     pub use self::evp::*;
25   |             ^^^^^^^^^^^^
26   = help: consider adding an explicit import of `id` to disambiguate
27note: `id` could also refer to the function imported here
28  --> $DIR/ambiguous-1.rs:13:13
29   |
30LL |     pub use self::handwritten::*;
31   |             ^^^^^^^^^^^^^^^^^^^^
32   = help: consider adding an explicit import of `id` to disambiguate
33   = note: `#[warn(ambiguous_glob_imports)]` on by default
34
35warning: 2 warnings emitted
36