move struct_pattern_on_tuple_enum to ui/pattern
This commit is contained in:
parent
9d1a1ae298
commit
b323651ded
2 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
error[E0574]: expected struct, variant or union type, found enum `Foo`
|
||||
--> $DIR/struct_pattern_on_tuple_enum_in_match.rs:8:9
|
||||
--> $DIR/struct_pattern_on_tuple_enum.rs:8:9
|
||||
|
|
||||
LL | Foo { i } => ()
|
||||
| ^^^ not a struct, variant or union type
|
||||
Loading…
Add table
Add a link
Reference in a new issue