]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/rustc-macro-transparency.stderr
Rollup merge of #105955 - Nilstrieb:no-trivial-opt-wrappers-we-have-field-accesses...
[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    |     ^^^^^^ not found in this scope
6
7 error[E0423]: expected value, found macro `semitransparent`
8   --> $DIR/rustc-macro-transparency.rs:29:5
9    |
10 LL |     struct SemiTransparent;
11    |     ----------------------- similarly named unit struct `SemiTransparent` defined here
12 ...
13 LL |     semitransparent;
14    |     ^^^^^^^^^^^^^^^
15    |     |
16    |     not a value
17    |     help: a unit struct with a similar name exists: `SemiTransparent`
18
19 error[E0423]: expected value, found macro `opaque`
20   --> $DIR/rustc-macro-transparency.rs:30:5
21    |
22 LL |     opaque;
23    |     ^^^^^^ not a value
24
25 error: aborting due to 3 previous errors
26
27 Some errors have detailed explanations: E0423, E0425.
28 For more information about an error, try `rustc --explain E0423`.