]> git.proxmox.com Git - rustc.git/blob - src/test/ui/hygiene/globs.stderr
6dcbf055a8bb78fbc0f968c83b6c146e253b2189
[rustc.git] / src / test / ui / hygiene / globs.stderr
1 error[E0425]: cannot find function `f` in this scope
2 --> $DIR/globs.rs:22:9
3 |
4 LL | f();
5 | ^ not found in this scope
6 |
7 help: consider importing one of these items
8 |
9 LL | use foo::f;
10 |
11
12 error[E0425]: cannot find function `g` in this scope
13 --> $DIR/globs.rs:15:5
14 |
15 LL | g();
16 | ^ not found in this scope
17 ...
18 LL | / m! {
19 LL | | use bar::*;
20 LL | | g();
21 LL | | f();
22 LL | | }
23 | |_____- in this macro invocation
24 |
25 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
26 help: consider importing this function
27 |
28 LL | use bar::g;
29 |
30
31 error[E0425]: cannot find function `f` in this scope
32 --> $DIR/globs.rs:61:12
33 |
34 LL | n!(f);
35 | ------ in this macro invocation
36 ...
37 LL | n!(f);
38 | ^ not found in this scope
39 |
40 = note: consider importing one of these items:
41 foo::f
42 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
43
44 error[E0425]: cannot find function `f` in this scope
45 --> $DIR/globs.rs:65:17
46 |
47 LL | n!(f);
48 | ------ in this macro invocation
49 ...
50 LL | f
51 | ^ not found in this scope
52 |
53 = note: consider importing one of these items:
54 foo::f
55 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
56
57 error: aborting due to 4 previous errors
58
59 For more information about this error, try `rustc --explain E0425`.