Commit 7789db2
committed
Auto merge of #17534 - Veykril:skip-unknown-match-check, r=Veykril
fix: Skip match exhaustiveness checking if pattern type contains errors
Should fix rust-lang/rust-analyzer#17509, checking when errors are involved is generally a bad idea as the algorithm doesn't really expect error types in the first place I believeFile tree
1 file changed
+3
-0
lines changed- src/tools/rust-analyzer/crates/hir-ty/src/diagnostics
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
199 | 202 | | |
200 | 203 | | |
201 | 204 | | |
| |||
0 commit comments