]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error[E0573]: expected type, found constant `X` |
0731742a | 2 | --> $DIR/issue-18119.rs:5:6 |
8faf50e0 XL |
3 | | |
4 | LL | impl X {} | |
5 | | ^ not a type | |
6 | ||
7 | error[E0573]: expected type, found static `Y` | |
0731742a | 8 | --> $DIR/issue-18119.rs:7:6 |
8faf50e0 XL |
9 | | |
10 | LL | impl Y {} | |
11 | | ^ not a type | |
12 | ||
13 | error[E0573]: expected type, found function `foo` | |
0731742a | 14 | --> $DIR/issue-18119.rs:9:6 |
8faf50e0 XL |
15 | | |
16 | LL | impl foo {} | |
17 | | ^^^ not a type | |
18 | ||
19 | error: aborting due to 3 previous errors | |
20 | ||
e74abb32 | 21 | For more information about this error, try `rustc --explain E0573`. |