diff --git a/crates/go_to_line/src/go_to_line.rs b/crates/go_to_line/src/go_to_line.rs index 2e4402ae5b..4c34468df4 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, cx: &mut VisualTestContext, ) -> View { - cx.dispatch_action(Toggle::default()); + cx.dispatch_action(Toggle); workspace.update(cx, |workspace, cx| { workspace.active_modal::(cx).unwrap().clone() }) diff --git a/crates/outline/src/outline.rs b/crates/outline/src/outline.rs index 3460cf29d5..63aa1cc991 100644 --- a/crates/outline/src/outline.rs +++ b/crates/outline/src/outline.rs @@ -447,7 +447,7 @@ mod tests { workspace: &View, cx: &mut VisualTestContext, ) -> View> { - cx.dispatch_action(Toggle::default()); + cx.dispatch_action(Toggle); workspace.update(cx, |workspace, cx| { workspace .active_modal::(cx) diff --git a/tooling/xtask/src/main.rs b/tooling/xtask/src/main.rs index b721c46f7e..9577f9b979 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");