@@ -5,14 +5,15 @@ LL | let x = env!("PATH");
55 | ^^^ ambiguous name
66 |
77 = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution
8- = note: `env` could refer to a macro from prelude
9- note: `env` could also refer to the macro imported here
8+ note: `env` could refer to the macro imported here
109 --> $DIR/glob-shadowing.rs:9:9
1110 |
1211LL | use crate::m::*;
1312 | ^^^^^^^^^^^
1413 = help: consider adding an explicit import of `env` to disambiguate
1514 = help: or use `self::env` to refer to this macro unambiguously
15+ note: `env` could also refer to a macro from prelude
16+ --> $SRC_DIR/std/src/prelude/mod.rs:LL:COL
1617
1718error[E0659]: `env` is ambiguous
1819 --> $DIR/glob-shadowing.rs:19:21
@@ -21,13 +22,14 @@ LL | let x = env!("PATH");
2122 | ^^^ ambiguous name
2223 |
2324 = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution
24- = note: `env` could refer to a macro from prelude
25- note: `env` could also refer to the macro imported here
25+ note: `env` could refer to the macro imported here
2626 --> $DIR/glob-shadowing.rs:17:13
2727 |
2828LL | use crate::m::*;
2929 | ^^^^^^^^^^^
3030 = help: consider adding an explicit import of `env` to disambiguate
31+ note: `env` could also refer to a macro from prelude
32+ --> $SRC_DIR/std/src/prelude/mod.rs:LL:COL
3133
3234error[E0659]: `fenv` is ambiguous
3335 --> $DIR/glob-shadowing.rs:29:21
0 commit comments