]>
Commit | Line | Data |
---|---|---|
e74abb32 | 1 | error[E0532]: expected unit struct, unit variant or constant, found static `self::X` |
0731742a | 2 | --> $DIR/issue-17933.rs:5:9 |
8faf50e0 XL |
3 | | |
4 | LL | self::X => { }, | |
e74abb32 | 5 | | ^^^^^^^ not a unit struct, unit variant or constant |
8faf50e0 XL |
6 | |
7 | error: aborting due to previous error | |
8 | ||
9 | For more information about this error, try `rustc --explain E0532`. |