2018-04-07 14:28:31 +00:00
|
|
|
error[E0425]: cannot find function `f` in this scope
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/globs.rs:22:9
|
2018-04-07 14:28:31 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | f();
|
2018-04-07 14:28:31 +00:00
|
|
|
| ^ not found in this scope
|
|
|
|
help: possible candidates are found in other modules, you can import them into scope
|
|
|
|
|
|
|
|
|
LL | use foo::f;
|
|
|
|
|
|
|
|
|
LL | use foo::f;
|
|
|
|
|
|
|
|
|
LL | use foo::f;
|
|
|
|
|
|
|
|
|
|
|
|
|
error[E0425]: cannot find function `g` in this scope
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/globs.rs:15:5
|
2018-04-07 14:28:31 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | g();
|
2018-04-07 14:28:31 +00:00
|
|
|
| ^ not found in this scope
|
|
|
|
...
|
|
|
|
LL | / m! {
|
|
|
|
LL | | use bar::*;
|
|
|
|
LL | | g();
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | | f();
|
2018-04-07 14:28:31 +00:00
|
|
|
LL | | }
|
|
|
|
| |_____- in this macro invocation
|
|
|
|
help: possible candidates are found in other modules, you can import them into scope
|
|
|
|
|
|
|
|
|
LL | use bar::g;
|
|
|
|
|
|
|
|
|
LL | use foo::test2::test::g;
|
|
|
|
|
|
2018-07-07 20:07:06 +00:00
|
|
|
LL | use foo::test2::test::g;
|
2018-04-07 14:28:31 +00:00
|
|
|
|
|
|
|
|
LL | use foo::test::g;
|
|
|
|
|
|
2018-07-07 20:07:06 +00:00
|
|
|
and 2 other candidates
|
|
|
|
|
|
|
|
error[E0425]: cannot find function `f` in this scope
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/globs.rs:61:12
|
2018-07-07 20:07:06 +00:00
|
|
|
|
|
|
|
|
LL | n!(f);
|
|
|
|
| ------ in this macro invocation
|
|
|
|
...
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | n!(f);
|
2018-07-07 20:07:06 +00:00
|
|
|
| ^ not found in this scope
|
2018-04-07 14:28:31 +00:00
|
|
|
|
|
|
|
error[E0425]: cannot find function `f` in this scope
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/globs.rs:65:17
|
2018-04-07 14:28:31 +00:00
|
|
|
|
|
|
|
|
LL | n!(f);
|
|
|
|
| ------ in this macro invocation
|
|
|
|
...
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | f
|
2018-04-07 14:28:31 +00:00
|
|
|
| ^ not found in this scope
|
|
|
|
|
2018-07-07 20:07:06 +00:00
|
|
|
error: aborting due to 4 previous errors
|
2018-04-07 14:28:31 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0425`.
|