]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/issue-56125.stderr
Add 'src/tools/rustfmt/' from commit '7872306edf2e11a69aaffb9434088fd66b46a863'
[rust.git] / src / test / ui / imports / issue-56125.stderr
1 error[E0432]: unresolved import `empty::issue_56125`
2   --> $DIR/issue-56125.rs:17:9
3    |
4 LL |     use empty::issue_56125;
5    |         ^^^^^^^^^^^^^^^^^^ no `issue_56125` in `m3::empty`
6
7 error[E0659]: `issue_56125` is ambiguous (name vs any other name during import resolution)
8   --> $DIR/issue-56125.rs:6:9
9    |
10 LL |     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
15 note: `issue_56125` could also refer to the module imported here
16   --> $DIR/issue-56125.rs:6:9
17    |
18 LL |     use issue_56125::last_segment::*;
19    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20    = help: use `self::issue_56125` to refer to this module unambiguously
21
22 error[E0659]: `issue_56125` is ambiguous (name vs any other name during import resolution)
23   --> $DIR/issue-56125.rs:11:9
24    |
25 LL |     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
30 note: `issue_56125` could also refer to the module imported here
31   --> $DIR/issue-56125.rs:11:9
32    |
33 LL |     use issue_56125::non_last_segment::non_last_segment::*;
34    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
35    = help: use `self::issue_56125` to refer to this module unambiguously
36
37 error[E0659]: `issue_56125` is ambiguous (name vs any other name during import resolution)
38   --> $DIR/issue-56125.rs:18:9
39    |
40 LL |     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
45 note: `issue_56125` could also refer to the module imported here
46   --> $DIR/issue-56125.rs:18:9
47    |
48 LL |     use issue_56125::*;
49    |         ^^^^^^^^^^^^^^
50    = help: use `self::issue_56125` to refer to this module unambiguously
51
52 error: aborting due to 4 previous errors
53
54 Some errors have detailed explanations: E0432, E0659.
55 For more information about an error, try `rustc --explain E0432`.