fork/rust

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

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

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