diff options
author | Josh Mcguigan <[email protected]> | 2020-04-06 14:55:25 +0100 |
---|---|---|
committer | Josh Mcguigan <[email protected]> | 2020-04-07 13:12:08 +0100 |
commit | da6752d5f9a18ba58adb6a2e72d30a83532ec8a6 (patch) | |
tree | 5cdf566b377b80f874c2d004d4cf28bd85154e44 /crates/ra_hir_ty/src/_match.rs | |
parent | 5fe608fb31430f43a404312e284a71d6f7cfa038 (diff) |
missing match arms diagnostic change source to match expression
Diffstat (limited to 'crates/ra_hir_ty/src/_match.rs')
-rw-r--r-- | crates/ra_hir_ty/src/_match.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_ty/src/_match.rs b/crates/ra_hir_ty/src/_match.rs index f502a9208..02472e0c0 100644 --- a/crates/ra_hir_ty/src/_match.rs +++ b/crates/ra_hir_ty/src/_match.rs | |||
@@ -545,7 +545,7 @@ mod tests { | |||
545 | 545 | ||
546 | assert_snapshot!( | 546 | assert_snapshot!( |
547 | check_diagnostic_message(content), | 547 | check_diagnostic_message(content), |
548 | @"\"{\\n }\": Missing match arm\n" | 548 | @"\"()\": Missing match arm\n" |
549 | ); | 549 | ); |
550 | } | 550 | } |
551 | 551 | ||