]> git.lizzy.rs Git - rust.git/blob - tests/ui/empty/empty-struct-braces-pat-3.stderr
Rollup merge of #106648 - Nilstrieb:poly-cleanup, r=compiler-errors
[rust.git] / tests / ui / empty / empty-struct-braces-pat-3.stderr
1 error[E0164]: expected tuple struct or tuple variant, found struct variant `E::Empty3`
2   --> $DIR/empty-struct-braces-pat-3.rs:17:9
3    |
4 LL |         E::Empty3() => ()
5    |         ^^^^^^^^^^^ not a tuple struct or tuple variant
6
7 error[E0164]: expected tuple struct or tuple variant, found struct variant `XE::XEmpty3`
8   --> $DIR/empty-struct-braces-pat-3.rs:21:9
9    |
10 LL |         XE::XEmpty3() => ()
11    |         ^^^^^^^^^^^^^ not a tuple struct or tuple variant
12
13 error[E0164]: expected tuple struct or tuple variant, found struct variant `E::Empty3`
14   --> $DIR/empty-struct-braces-pat-3.rs:25:9
15    |
16 LL |         E::Empty3(..) => ()
17    |         ^^^^^^^^^^^^^ not a tuple struct or tuple variant
18
19 error[E0164]: expected tuple struct or tuple variant, found struct variant `XE::XEmpty3`
20   --> $DIR/empty-struct-braces-pat-3.rs:29:9
21    |
22 LL |         XE::XEmpty3(..) => ()
23    |         ^^^^^^^^^^^^^^^ not a tuple struct or tuple variant
24
25 error: aborting due to 4 previous errors
26
27 For more information about this error, try `rustc --explain E0164`.