summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/issue-56125.stderr
blob: 3448f3119778a6d4b5592297f1c56d0096d2f949 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
error[E0432]: unresolved import `empty::issue_56125`
  --> $DIR/issue-56125.rs:17:9
   |
LL |     use empty::issue_56125;
   |         ^^^^^^^^^^^^^^^^^^ no `issue_56125` in `m3::empty`
   |
help: consider importing one of these items instead
   |
LL |     use crate::m3::last_segment::issue_56125;
   |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LL |     use crate::m3::non_last_segment::non_last_segment::issue_56125;
   |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LL |     use issue_56125::issue_56125;
   |         ~~~~~~~~~~~~~~~~~~~~~~~~
LL |     use issue_56125::last_segment::issue_56125;
   |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     and 1 other candidate

error[E0659]: `issue_56125` is ambiguous
  --> $DIR/issue-56125.rs:6:9
   |
LL |     use issue_56125::last_segment::*;
   |         ^^^^^^^^^^^ ambiguous name
   |
   = note: ambiguous because of multiple potential import sources
   = note: `issue_56125` could refer to a crate passed with `--extern`
   = help: use `::issue_56125` to refer to this crate unambiguously
note: `issue_56125` could also refer to the module imported here
  --> $DIR/issue-56125.rs:6:9
   |
LL |     use issue_56125::last_segment::*;
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   = help: use `self::issue_56125` to refer to this module unambiguously

error[E0659]: `issue_56125` is ambiguous
  --> $DIR/issue-56125.rs:11:9
   |
LL |     use issue_56125::non_last_segment::non_last_segment::*;
   |         ^^^^^^^^^^^ ambiguous name
   |
   = note: ambiguous because of multiple potential import sources
   = note: `issue_56125` could refer to a crate passed with `--extern`
   = help: use `::issue_56125` to refer to this crate unambiguously
note: `issue_56125` could also refer to the module imported here
  --> $DIR/issue-56125.rs:11:9
   |
LL |     use issue_56125::non_last_segment::non_last_segment::*;
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   = help: use `self::issue_56125` to refer to this module unambiguously

error[E0659]: `issue_56125` is ambiguous
  --> $DIR/issue-56125.rs:18:9
   |
LL |     use issue_56125::*;
   |         ^^^^^^^^^^^ ambiguous name
   |
   = note: ambiguous because of multiple potential import sources
   = note: `issue_56125` could refer to a crate passed with `--extern`
   = help: use `::issue_56125` to refer to this crate unambiguously
note: `issue_56125` could also refer to the module imported here
  --> $DIR/issue-56125.rs:18:9
   |
LL |     use issue_56125::*;
   |         ^^^^^^^^^^^^^^
   = help: use `self::issue_56125` to refer to this module unambiguously

error: aborting due to 4 previous errors

Some errors have detailed explanations: E0432, E0659.
For more information about an error, try `rustc --explain E0432`.