mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
Wrap inner tail expressions in MissingOkOrSomeInTailExpr
This commit is contained in:
parent
eb513c22f7
commit
1edbaa29f9
8 changed files with 69 additions and 11 deletions
|
@ -533,6 +533,9 @@ fn foo() ->$0 u32 {
|
|||
5
|
||||
// ^
|
||||
}
|
||||
} else if false {
|
||||
0
|
||||
// ^
|
||||
} else {
|
||||
match 5 {
|
||||
6 => 100,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue