aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/rust-analyzer/src/handlers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/handlers.rs b/crates/rust-analyzer/src/handlers.rs
index 357d5f8ca..2b37d7825 100644
--- a/crates/rust-analyzer/src/handlers.rs
+++ b/crates/rust-analyzer/src/handlers.rs
@@ -749,7 +749,7 @@ fn handle_fixes(
749 749
750 match &params.context.only { 750 match &params.context.only {
751 Some(v) => { 751 Some(v) => {
752 if v.iter().any(|it| { 752 if !v.iter().any(|it| {
753 it == &lsp_types::CodeActionKind::EMPTY 753 it == &lsp_types::CodeActionKind::EMPTY
754 || it == &lsp_types::CodeActionKind::QUICKFIX 754 || it == &lsp_types::CodeActionKind::QUICKFIX
755 }) { 755 }) {