mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-29 02:52:11 +00:00
Correctly handle non-semi statement expressions for never coercions
This commit is contained in:
parent
95c4cb991f
commit
b85e2af898
3 changed files with 37 additions and 14 deletions
|
|
@ -476,7 +476,7 @@ fn infer_adt_pattern() {
|
|||
183..184 'x': usize
|
||||
190..191 'x': usize
|
||||
201..205 'E::B': E
|
||||
209..212 'foo': bool
|
||||
209..212 'foo': {unknown}
|
||||
216..217 '1': usize
|
||||
227..231 'E::B': E
|
||||
235..237 '10': usize
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue