]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/rustc-macro-transparency.stderr
Rollup merge of #86434 - CDirkx:ipv6-benchmarking, r=joshtriplett
[rust.git] / src / test / ui / hygiene / rustc-macro-transparency.stderr
1 error[E0425]: cannot find value `Opaque` in this scope
2   --> $DIR/rustc-macro-transparency.rs:26:5
3    |
4 LL |     Opaque;
5    |     ^^^^^^ help: a local variable with a similar name exists (notice the capitalization): `opaque`
6
7 error[E0423]: expected value, found macro `semitransparent`
8   --> $DIR/rustc-macro-transparency.rs:29:5
9    |
10 LL |     semitransparent;
11    |     ^^^^^^^^^^^^^^^ not a value
12    |
13 help: use `!` to invoke the macro
14    |
15 LL |     semitransparent!;
16    |                    +
17
18 error[E0423]: expected value, found macro `opaque`
19   --> $DIR/rustc-macro-transparency.rs:30:5
20    |
21 LL |     opaque;
22    |     ^^^^^^ not a value
23    |
24 help: use `!` to invoke the macro
25    |
26 LL |     opaque!;
27    |           +
28
29 error: aborting due to 3 previous errors
30
31 Some errors have detailed explanations: E0423, E0425.
32 For more information about an error, try `rustc --explain E0423`.