blob: 6870b9d7d09f4cc278cb3cd58325c118530b79bd (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0533]: expected unit struct, unit variant or constant, found tuple variant `Self::A`
--> $DIR/incorrect-variant-form-through-Self-issue-58006.rs:8:13
|
LL | Self::A => (),
| ^^^^^^^ not a unit struct, unit variant or constant
error: aborting due to previous error
For more information about this error, try `rustc --explain E0533`.
|