fork/rust

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

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

master
600 B15 linesraw
1error[E0533]: expected unit struct, unit variant or constant, found struct variant `E::Empty3`
2  --> $DIR/empty-struct-braces-pat-1.rs:24:9
3   |
4LL |         E::Empty3 => ()
5   |         ^^^^^^^^^ not a unit struct, unit variant or constant
6
7error[E0533]: expected unit struct, unit variant or constant, found struct variant `XE::XEmpty3`
8  --> $DIR/empty-struct-braces-pat-1.rs:31:9
9   |
10LL |         XE::XEmpty3 => ()
11   |         ^^^^^^^^^^^ not a unit struct, unit variant or constant
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0533`.