Skip to content

Commit 00879b1

Browse files
committed
Auto merge of rust-lang#16750 - Veykril:unnecessary-else, r=Veykril
minor: Mark remove_unnecessary_else as experimental cc rust-lang/rust-analyzer#16566 (comment) rust-lang/rust-analyzer#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
2 parents a7e9f12 + 6e802a0 commit 00879b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/ide-diagnostics/src/handlers/remove_unnecessary_else.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ pub(crate) fn remove_unnecessary_else(
3030
"remove unnecessary else block",
3131
display_range,
3232
)
33+
.experimental()
3334
.with_fixes(fixes(ctx, d))
3435
}
3536

0 commit comments

Comments
 (0)