blob: 6dcbf055a8bb78fbc0f968c83b6c146e253b2189 [file] [log] [blame]
error[E0425]: cannot find function `f` in this scope
--> $DIR/globs.rs:22:9
|
LL | f();
| ^ not found in this scope
|
help: consider importing one of these items
|
LL | use foo::f;
|
error[E0425]: cannot find function `g` in this scope
--> $DIR/globs.rs:15:5
|
LL | g();
| ^ not found in this scope
...
LL | / m! {
LL | | use bar::*;
LL | | g();
LL | | f();
LL | | }
| |_____- in this macro invocation
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
|
LL | use bar::g;
|
error[E0425]: cannot find function `f` in this scope
--> $DIR/globs.rs:61:12
|
LL | n!(f);
| ------ in this macro invocation
...
LL | n!(f);
| ^ not found in this scope
|
= note: consider importing one of these items:
foo::f
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0425]: cannot find function `f` in this scope
--> $DIR/globs.rs:65:17
|
LL | n!(f);
| ------ in this macro invocation
...
LL | f
| ^ not found in this scope
|
= note: consider importing one of these items:
foo::f
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to 4 previous errors
For more information about this error, try `rustc --explain E0425`.