diff options
author | Aleksey Kladov <[email protected]> | 2020-07-14 13:57:33 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-14 13:58:10 +0100 |
commit | abeb003df47de4a1b7aa36a7c4d7987d8cf40ace (patch) | |
tree | c81e83fcb3c9abdae2a7b38020f6da9d5d05d833 /crates/ra_hir_ty/src/diagnostics | |
parent | 0b0865ab226d57c88e22b6b395d033f68f2c11af (diff) |
Allow multiline annotations
Diffstat (limited to 'crates/ra_hir_ty/src/diagnostics')
-rw-r--r-- | crates/ra_hir_ty/src/diagnostics/match_check.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_hir_ty/src/diagnostics/match_check.rs b/crates/ra_hir_ty/src/diagnostics/match_check.rs index ba48b51b5..95f272811 100644 --- a/crates/ra_hir_ty/src/diagnostics/match_check.rs +++ b/crates/ra_hir_ty/src/diagnostics/match_check.rs | |||
@@ -1162,12 +1162,14 @@ fn main() { | |||
1162 | match a { | 1162 | match a { |
1163 | Either::A { } => (), | 1163 | Either::A { } => (), |
1164 | //^^^ Missing structure fields: | 1164 | //^^^ Missing structure fields: |
1165 | // | - foo | ||
1165 | Either::B => (), | 1166 | Either::B => (), |
1166 | } | 1167 | } |
1167 | match a { | 1168 | match a { |
1168 | //^ Missing match arm | 1169 | //^ Missing match arm |
1169 | Either::A { } => (), | 1170 | Either::A { } => (), |
1170 | } //^^^ Missing structure fields: | 1171 | } //^^^ Missing structure fields: |
1172 | // | - foo | ||
1171 | 1173 | ||
1172 | match a { | 1174 | match a { |
1173 | Either::A { foo: true } => (), | 1175 | Either::A { foo: true } => (), |