]> git.proxmox.com Git - rustc.git/blob - tests/ui/imports/ambiguous-16.stderr
New upstream version 1.73.0+dfsg1
[rustc.git] / tests / ui / imports / ambiguous-16.stderr
1 warning: `ConfirmedTranscriptHashInput` is ambiguous
2 --> $DIR/ambiguous-16.rs:23:21
3 |
4 LL | use crate::framing::ConfirmedTranscriptHashInput;
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous name
6 |
7 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
8 = note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
9 = note: ambiguous because of multiple glob imports of a name in the same module
10 note: `ConfirmedTranscriptHashInput` could refer to the struct imported here
11 --> $DIR/ambiguous-16.rs:19:13
12 |
13 LL | pub use self::public_message::*;
14 | ^^^^^^^^^^^^^^^^^^^^^^^
15 = help: consider adding an explicit import of `ConfirmedTranscriptHashInput` to disambiguate
16 note: `ConfirmedTranscriptHashInput` could also refer to the struct imported here
17 --> $DIR/ambiguous-16.rs:20:13
18 |
19 LL | pub use self::public_message_in::*;
20 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
21 = help: consider adding an explicit import of `ConfirmedTranscriptHashInput` to disambiguate
22 = note: `#[warn(ambiguous_glob_imports)]` on by default
23
24 warning: 1 warning emitted
25