aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser/src/grammar/expressions
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-04-12 09:30:24 +0100
committerGitHub <[email protected]>2020-04-12 09:30:24 +0100
commit268b7987290143550461090c2c0e23371813dbec (patch)
tree5dcdab30670131d405d34d0c20a8785bbf1ee181 /crates/ra_parser/src/grammar/expressions
parenta8e032820f14cad3630299a1ae16c62dcf59f358 (diff)
parentbb2e5308b77e5d115df17411aaa2dd26be171b0a (diff)
Merge #3938
3938: fix missing match arm false positive r=flodiebold a=JoshMcguigan This fixes #3932 by skipping the missing match arm diagnostic in the case any of the match arms don't type check properly against the match expression. I think this is the appropriate behavior for this diagnostic, since `is_useful` relies on all match arms being well formed, and the case of a malformed match arm should probably be handled by a different diagnostic. Co-authored-by: Josh Mcguigan <[email protected]>
Diffstat (limited to 'crates/ra_parser/src/grammar/expressions')
0 files changed, 0 insertions, 0 deletions