Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-diagnostics/src/handlers/union_pat_has_rest.rs')
| -rw-r--r-- | crates/ide-diagnostics/src/handlers/union_pat_has_rest.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide-diagnostics/src/handlers/union_pat_has_rest.rs b/crates/ide-diagnostics/src/handlers/union_pat_has_rest.rs index 03694f621c..9333118719 100644 --- a/crates/ide-diagnostics/src/handlers/union_pat_has_rest.rs +++ b/crates/ide-diagnostics/src/handlers/union_pat_has_rest.rs @@ -32,7 +32,7 @@ union Bird { fn main(bird: Bird) { unsafe { let Bird { pigeon: 0, .. } = bird; - // ^^^^^^^^^^^^^^^^^^^^^ error: union patterns cannot use `..` + //^^^^^^^^^^^^^^^^^^^^^^ error: union patterns cannot use `..` } } "#, |