Auto merge of #16750 - Veykril:unnecessary-else, r=Veykril
minor: Mark remove_unnecessary_else as experimental cc https://github.com/rust-lang/rust-analyzer/issues/16566#issuecomment-1976492762 https://github.com/rust-lang/rust-analyzer/issues/16628 There seem to be some leftover issues with this, additionally its a style lint so it's not too nice to see for some people. We should flesh out our diagnostics stuff before adding more style lints I think
This commit is contained in:
commit
00879b1c57
@ -30,6 +30,7 @@ pub(crate) fn remove_unnecessary_else(
|
|||||||
"remove unnecessary else block",
|
"remove unnecessary else block",
|
||||||
display_range,
|
display_range,
|
||||||
)
|
)
|
||||||
|
.experimental()
|
||||||
.with_fixes(fixes(ctx, d))
|
.with_fixes(fixes(ctx, d))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user