fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
2.2 KiB55 linesraw
1error[E0432]: unresolved import `empty::issue_56125`
2  --> $DIR/issue-56125.rs:17:9
3   |
4LL |     use empty::issue_56125;
5   |         ^^^^^^^^^^^^^^^^^^ no `issue_56125` in `m3::empty`
6
7error[E0659]: `issue_56125` is ambiguous (name vs any other name during import resolution)
8  --> $DIR/issue-56125.rs:6:9
9   |
10LL |     use issue_56125::last_segment::*;
11   |         ^^^^^^^^^^^ ambiguous name
12   |
13   = note: `issue_56125` could refer to a crate passed with `--extern`
14   = help: use `::issue_56125` to refer to this crate unambiguously
15note: `issue_56125` could also refer to the module imported here
16  --> $DIR/issue-56125.rs:6:9
17   |
18LL |     use issue_56125::last_segment::*;
19   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20   = help: use `self::issue_56125` to refer to this module unambiguously
21
22error[E0659]: `issue_56125` is ambiguous (name vs any other name during import resolution)
23  --> $DIR/issue-56125.rs:11:9
24   |
25LL |     use issue_56125::non_last_segment::non_last_segment::*;
26   |         ^^^^^^^^^^^ ambiguous name
27   |
28   = note: `issue_56125` could refer to a crate passed with `--extern`
29   = help: use `::issue_56125` to refer to this crate unambiguously
30note: `issue_56125` could also refer to the module imported here
31  --> $DIR/issue-56125.rs:11:9
32   |
33LL |     use issue_56125::non_last_segment::non_last_segment::*;
34   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
35   = help: use `self::issue_56125` to refer to this module unambiguously
36
37error[E0659]: `issue_56125` is ambiguous (name vs any other name during import resolution)
38  --> $DIR/issue-56125.rs:18:9
39   |
40LL |     use issue_56125::*;
41   |         ^^^^^^^^^^^ ambiguous name
42   |
43   = note: `issue_56125` could refer to a crate passed with `--extern`
44   = help: use `::issue_56125` to refer to this crate unambiguously
45note: `issue_56125` could also refer to the module imported here
46  --> $DIR/issue-56125.rs:18:9
47   |
48LL |     use issue_56125::*;
49   |         ^^^^^^^^^^^^^^
50   = help: use `self::issue_56125` to refer to this module unambiguously
51
52error: aborting due to 4 previous errors
53
54Some errors have detailed explanations: E0432, E0659.
55For more information about an error, try `rustc --explain E0432`.