Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Restore `--all-targets` for clippy (#9346)
Marshall Bowers3610b076a0f0
diff --git a/crates/go_to_line/src/go_to_line.rs b/crates/go_to_line/src/go_to_line.rsindex 2e4402ae5bc..4c34468df4b 100644--- a/crates/go_to_line/src/go_to_line.rs+++ b/crates/go_to_line/src/go_to_line.rs@@ -337,7 +337,7 @@ mod tests {workspace: &View<Workspace>,cx: &mut VisualTestContext,) -> View<GoToLine> {- cx.dispatch_action(Toggle::default());+ cx.dispatch_action(Toggle);workspace.update(cx, |workspace, cx| {workspace.active_modal::<GoToLine>(cx).unwrap().clone()})diff --git a/crates/outline/src/outline.rs b/crates/outline/src/outline.rsindex 3460cf29d59..63aa1cc9913 100644--- a/crates/outline/src/outline.rs+++ b/crates/outline/src/outline.rs@@ -447,7 +447,7 @@ mod tests {workspace: &View<Workspace>,cx: &mut VisualTestContext,) -> View<Picker<OutlineViewDelegate>> {- cx.dispatch_action(Toggle::default());+ cx.dispatch_action(Toggle);workspace.update(cx, |workspace, cx| {workspace.active_modal::<OutlineView>(cx)diff --git a/tooling/xtask/src/main.rs b/tooling/xtask/src/main.rsindex b721c46f7e9..9577f9b979a 100644--- a/tooling/xtask/src/main.rs+++ b/tooling/xtask/src/main.rs@@ -47,7 +47,10 @@ fn run_clippy(args: ClippyArgs) -> Result<()> {clippy_command.arg("--workspace");}- clippy_command.arg("--release").arg("--all-features");+ clippy_command+ .arg("--release")+ .arg("--all-targets")+ .arg("--all-features");if args.fix {clippy_command.arg("--fix");