You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/ui/imports/issue-109148.stderr
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -36,9 +36,8 @@ error[E0659]: `std` is ambiguous
36
36
LL | use ::std::mem as _;
37
37
| ^^^ ambiguous name
38
38
|
39
-
= note: ambiguous because of a conflict between a macro-expanded name and a less macro-expanded name from outer scope during import or macro resolution
39
+
= note: ambiguous because of a conflict between a macro-expanded `extern crate` and `--extern` flag during import or macro resolution
40
40
= note: `std` could refer to a built-in crate
41
-
= help: use `::std` to refer to this crate unambiguously
42
41
note: `std` could also refer to the crate imported here
43
42
--> $DIR/issue-109148.rs:6:9
44
43
|
@@ -47,7 +46,6 @@ LL | extern crate core as std;
47
46
...
48
47
LL | m!();
49
48
| ---- in this macro invocation
50
-
= help: use `::std` to refer to this crate unambiguously
51
49
= note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
Copy file name to clipboardExpand all lines: tests/ui/macros/issue-78325-inconsistent-resolution.stderr
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -36,9 +36,8 @@ error[E0659]: `core` is ambiguous
36
36
LL | ::core::panic!();
37
37
| ^^^^ ambiguous name
38
38
|
39
-
= note: ambiguous because of a conflict between a macro-expanded name and a less macro-expanded name from outer scope during import or macro resolution
39
+
= note: ambiguous because of a conflict between a macro-expanded `extern crate` and `--extern` flag during import or macro resolution
40
40
= note: `core` could refer to a built-in crate
41
-
= help: use `::core` to refer to this crate unambiguously
42
41
note: `core` could also refer to the crate imported here
0 commit comments