mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
move struct_pattern_on_tuple_enum to ui/pattern
This commit is contained in:
+1
-1
@@ -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
|
||||
Reference in New Issue
Block a user