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