fork/rust

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

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

master
2.6 KiB65 linesraw
1warning: ambiguous glob re-exports
2  --> $DIR/ambiguous-9.rs:8:13
3   |
4LL |     pub use self::range::*;
5   |             ^^^^^^^^^^^^^^ the name `date_range` in the value namespace is first re-exported here
6LL |     use super::prelude::*;
7   |         ----------------- but the name `date_range` in the value namespace is also re-exported here
8   |
9   = note: `#[warn(ambiguous_glob_reexports)]` on by default
10
11warning: `date_range` is ambiguous
12  --> $DIR/ambiguous-9.rs:24:5
13   |
14LL |     date_range();
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: `date_range` could refer to the function imported here
21  --> $DIR/ambiguous-9.rs:8:13
22   |
23LL |     pub use self::range::*;
24   |             ^^^^^^^^^^^^^^
25   = help: consider adding an explicit import of `date_range` to disambiguate
26note: `date_range` could also refer to the function imported here
27  --> $DIR/ambiguous-9.rs:9:9
28   |
29LL |     use super::prelude::*;
30   |         ^^^^^^^^^^^^^^^^^
31   = help: consider adding an explicit import of `date_range` to disambiguate
32   = note: `#[warn(ambiguous_glob_imports)]` on by default
33
34warning: ambiguous glob re-exports
35  --> $DIR/ambiguous-9.rs:16:13
36   |
37LL |     pub use self::t::*;
38   |             ^^^^^^^^^^ the name `date_range` in the value namespace is first re-exported here
39LL |     pub use super::dsl::*;
40   |             ------------- but the name `date_range` in the value namespace is also re-exported here
41
42warning: `date_range` is ambiguous
43  --> $DIR/ambiguous-9.rs:24:5
44   |
45LL |     date_range();
46   |     ^^^^^^^^^^ ambiguous name
47   |
48   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
49   = note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
50   = note: ambiguous because of multiple glob imports of a name in the same module
51note: `date_range` could refer to the function imported here
52  --> $DIR/ambiguous-9.rs:20:5
53   |
54LL | use dsl::*;
55   |     ^^^^^^
56   = help: consider adding an explicit import of `date_range` to disambiguate
57note: `date_range` could also refer to the function imported here
58  --> $DIR/ambiguous-9.rs:21:5
59   |
60LL | use prelude::*;
61   |     ^^^^^^^^^^
62   = help: consider adding an explicit import of `date_range` to disambiguate
63
64warning: 4 warnings emitted
65