fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0425]: cannot find function `f` in this scope 2 --> $DIR/globs.rs:22:9 3 | 4LL | f(); 5 | ^ not found in this scope 6 | 7help: possible candidates are found in other modules, you can import them into scope 8 | 9LL | use foo::f; 10 | 11LL | use foo::f; 12 | 13LL | use foo::f; 14 | 15 16error[E0425]: cannot find function `g` in this scope 17 --> $DIR/globs.rs:15:5 18 | 19LL | g(); 20 | ^ not found in this scope 21... 22LL | / m! { 23LL | | use bar::*; 24LL | | g(); 25LL | | f(); 26LL | | } 27 | |_____- in this macro invocation 28 | 29help: possible candidates are found in other modules, you can import them into scope 30 | 31LL | use bar::g; 32 | 33LL | use foo::test2::test::g; 34 | 35LL | use foo::test2::test::g; 36 | 37LL | use foo::test::g; 38 | 39 and 2 other candidates 40 41error[E0425]: cannot find function `f` in this scope 42 --> $DIR/globs.rs:61:12 43 | 44LL | n!(f); 45 | ------ in this macro invocation 46... 47LL | n!(f); 48 | ^ not found in this scope 49 50error[E0425]: cannot find function `f` in this scope 51 --> $DIR/globs.rs:65:17 52 | 53LL | n!(f); 54 | ------ in this macro invocation 55... 56LL | f 57 | ^ not found in this scope 58 59error: aborting due to 4 previous errors 60 61For more information about this error, try `rustc --explain E0425`.