]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/rustc-macro-transparency.stderr
Sync rust-lang/portable-simd@5f49d4c8435a25d804b2f375e949cb25479f5be9
[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 |     struct Opaque;
23    |     -------------- similarly named unit struct `Opaque` defined here
24 ...
25 LL |     opaque;
26    |     ^^^^^^
27    |     |
28    |     not a value
29    |     help: a unit struct with a similar name exists (notice the capitalization): `Opaque`
30
31 error: aborting due to 3 previous errors
32
33 Some errors have detailed explanations: E0423, E0425.
34 For more information about an error, try `rustc --explain E0423`.