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