fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.0 KiB27 linesraw
1error[E0164]: expected tuple struct or tuple variant, found struct variant `E::Empty3`
2  --> $DIR/empty-struct-braces-pat-3.rs:17:9
3   |
4LL |         E::Empty3() => ()
5   |         ^^^^^^^^^^^ not a tuple struct or tuple variant
6
7error[E0164]: expected tuple struct or tuple variant, found struct variant `XE::XEmpty3`
8  --> $DIR/empty-struct-braces-pat-3.rs:21:9
9   |
10LL |         XE::XEmpty3() => ()
11   |         ^^^^^^^^^^^^^ not a tuple struct or tuple variant
12
13error[E0164]: expected tuple struct or tuple variant, found struct variant `E::Empty3`
14  --> $DIR/empty-struct-braces-pat-3.rs:25:9
15   |
16LL |         E::Empty3(..) => ()
17   |         ^^^^^^^^^^^^^ not a tuple struct or tuple variant
18
19error[E0164]: expected tuple struct or tuple variant, found struct variant `XE::XEmpty3`
20  --> $DIR/empty-struct-braces-pat-3.rs:29:9
21   |
22LL |         XE::XEmpty3(..) => ()
23   |         ^^^^^^^^^^^^^^^ not a tuple struct or tuple variant
24
25error: aborting due to 4 previous errors
26
27For more information about this error, try `rustc --explain E0164`.