|
1 | 1 | error[E0433]: failed to resolve: could not find `non_last_segment` in `issue_56125`
|
2 |
| - --> $DIR/issue-56125.rs:8:18 |
| 2 | + --> $DIR/issue-56125.rs:14:22 |
3 | 3 | |
|
4 |
| -LL | use issue_56125::non_last_segment::non_last_segment::*; |
5 |
| - | ^^^^^^^^^^^^^^^^ could not find `non_last_segment` in `issue_56125` |
| 4 | +LL | use issue_56125::non_last_segment::non_last_segment::*; |
| 5 | + | ^^^^^^^^^^^^^^^^ could not find `non_last_segment` in `issue_56125` |
6 | 6 |
|
7 | 7 | error[E0432]: unresolved import `issue_56125::last_segment`
|
8 |
| - --> $DIR/issue-56125.rs:5:18 |
| 8 | + --> $DIR/issue-56125.rs:8:22 |
9 | 9 | |
|
10 |
| -LL | use issue_56125::last_segment::*; |
11 |
| - | ^^^^^^^^^^^^ could not find `last_segment` in `issue_56125` |
| 10 | +LL | use issue_56125::last_segment::*; |
| 11 | + | ^^^^^^^^^^^^ could not find `last_segment` in `issue_56125` |
| 12 | + |
| 13 | +error[E0432]: unresolved import `empty::issue_56125` |
| 14 | + --> $DIR/issue-56125.rs:21:9 |
| 15 | + | |
| 16 | +LL | use empty::issue_56125; //~ ERROR unresolved import `empty::issue_56125` |
| 17 | + | ^^^^^^^^^^^^^^^^^^ no `issue_56125` in `m3::empty` |
12 | 18 |
|
13 | 19 | error[E0659]: `issue_56125` is ambiguous (name vs any other name during import resolution)
|
14 |
| - --> $DIR/issue-56125.rs:5:5 |
| 20 | + --> $DIR/issue-56125.rs:8:9 |
15 | 21 | |
|
16 |
| -LL | use issue_56125::last_segment::*; |
17 |
| - | ^^^^^^^^^^^ ambiguous name |
| 22 | +LL | use issue_56125::last_segment::*; |
| 23 | + | ^^^^^^^^^^^ ambiguous name |
18 | 24 | |
|
19 | 25 | = note: `issue_56125` could refer to an extern crate passed with `--extern`
|
20 | 26 | = help: use `::issue_56125` to refer to this extern crate unambiguously
|
21 | 27 | note: `issue_56125` could also refer to the module imported here
|
22 |
| - --> $DIR/issue-56125.rs:5:5 |
| 28 | + --> $DIR/issue-56125.rs:8:9 |
23 | 29 | |
|
24 |
| -LL | use issue_56125::last_segment::*; |
25 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 30 | +LL | use issue_56125::last_segment::*; |
| 31 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
26 | 32 | = help: use `self::issue_56125` to refer to this module unambiguously
|
27 | 33 |
|
28 | 34 | error[E0659]: `issue_56125` is ambiguous (name vs any other name during import resolution)
|
29 |
| - --> $DIR/issue-56125.rs:8:5 |
| 35 | + --> $DIR/issue-56125.rs:14:9 |
30 | 36 | |
|
31 |
| -LL | use issue_56125::non_last_segment::non_last_segment::*; |
32 |
| - | ^^^^^^^^^^^ ambiguous name |
| 37 | +LL | use issue_56125::non_last_segment::non_last_segment::*; |
| 38 | + | ^^^^^^^^^^^ ambiguous name |
33 | 39 | |
|
34 | 40 | = note: `issue_56125` could refer to an extern crate passed with `--extern`
|
35 | 41 | = help: use `::issue_56125` to refer to this extern crate unambiguously
|
36 | 42 | note: `issue_56125` could also refer to the module imported here
|
37 |
| - --> $DIR/issue-56125.rs:5:5 |
| 43 | + --> $DIR/issue-56125.rs:14:9 |
38 | 44 | |
|
39 |
| -LL | use issue_56125::last_segment::*; |
40 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 45 | +LL | use issue_56125::non_last_segment::non_last_segment::*; |
| 46 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
41 | 47 | = help: use `self::issue_56125` to refer to this module unambiguously
|
42 | 48 |
|
43 |
| -error: aborting due to 4 previous errors |
| 49 | +error[E0659]: `issue_56125` is ambiguous (name vs any other name during import resolution) |
| 50 | + --> $DIR/issue-56125.rs:22:9 |
| 51 | + | |
| 52 | +LL | use issue_56125::*; //~ ERROR `issue_56125` is ambiguous |
| 53 | + | ^^^^^^^^^^^ ambiguous name |
| 54 | + | |
| 55 | + = note: `issue_56125` could refer to an extern crate passed with `--extern` |
| 56 | + = help: use `::issue_56125` to refer to this extern crate unambiguously |
| 57 | +note: `issue_56125` could also refer to the unresolved item imported here |
| 58 | + --> $DIR/issue-56125.rs:21:9 |
| 59 | + | |
| 60 | +LL | use empty::issue_56125; //~ ERROR unresolved import `empty::issue_56125` |
| 61 | + | ^^^^^^^^^^^^^^^^^^ |
| 62 | + = help: use `self::issue_56125` to refer to this unresolved item unambiguously |
| 63 | + |
| 64 | +error: aborting due to 6 previous errors |
44 | 65 |
|
45 | 66 | Some errors occurred: E0432, E0433, E0659.
|
46 | 67 | For more information about an error, try `rustc --explain E0432`.
|
0 commit comments