mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
error[E0164]: expected tuple struct or tuple variant, found struct variant `E::Empty3`
|
|
--> $DIR/empty-struct-braces-pat-3.rs:17:9
|
|
|
|
|
LL | E::Empty3() => ()
|
|
| ^^^^^^^^^^^ not a tuple struct or tuple variant
|
|
|
|
error[E0164]: expected tuple struct or tuple variant, found struct variant `XE::XEmpty3`
|
|
--> $DIR/empty-struct-braces-pat-3.rs:21:9
|
|
|
|
|
LL | XE::XEmpty3() => ()
|
|
| ^^^^^^^^^^^^^ not a tuple struct or tuple variant
|
|
|
|
error[E0164]: expected tuple struct or tuple variant, found struct variant `E::Empty3`
|
|
--> $DIR/empty-struct-braces-pat-3.rs:25:9
|
|
|
|
|
LL | E::Empty3(..) => ()
|
|
| ^^^^^^^^^^^^^ not a tuple struct or tuple variant
|
|
|
|
error[E0164]: expected tuple struct or tuple variant, found struct variant `XE::XEmpty3`
|
|
--> $DIR/empty-struct-braces-pat-3.rs:29:9
|
|
|
|
|
LL | XE::XEmpty3(..) => ()
|
|
| ^^^^^^^^^^^^^^^ not a tuple struct or tuple variant
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0164`.
|