@@ -12,7 +12,7 @@ help: You can use `as` to change the binding name of the import
12
12
25 | use a::foo as Otherfoo; //~ ERROR the name `foo` is defined multiple times
13
13
| ^^^^^^^^^^^^^^^^^^
14
14
15
- error: `foo` is ambiguous
15
+ error[E0659] : `foo` is ambiguous
16
16
--> $DIR/duplicate.rs:56:9
17
17
|
18
18
56 | use self::foo::bar; //~ ERROR `foo` is ambiguous
@@ -30,7 +30,7 @@ note: `foo` could also refer to the name imported here
30
30
| ^^^^^^^^^^^
31
31
= note: consider adding an explicit import of `foo` to disambiguate
32
32
33
- error: `foo` is ambiguous
33
+ error[E0659] : `foo` is ambiguous
34
34
--> $DIR/duplicate.rs:45:5
35
35
|
36
36
45 | f::foo(); //~ ERROR `foo` is ambiguous
@@ -48,7 +48,7 @@ note: `foo` could also refer to the name imported here
48
48
| ^^^^
49
49
= note: consider adding an explicit import of `foo` to disambiguate
50
50
51
- error: `foo` is ambiguous
51
+ error[E0659] : `foo` is ambiguous
52
52
--> $DIR/duplicate.rs:46:5
53
53
|
54
54
46 | g::foo(); //~ ERROR `foo` is ambiguous
@@ -66,7 +66,7 @@ note: `foo` could also refer to the name imported here
66
66
| ^^^^
67
67
= note: consider adding an explicit import of `foo` to disambiguate
68
68
69
- error: `foo` is ambiguous
69
+ error[E0659] : `foo` is ambiguous
70
70
--> $DIR/duplicate.rs:59:9
71
71
|
72
72
59 | foo::bar(); //~ ERROR `foo` is ambiguous
0 commit comments