From 9a7b73b161eaaa56125d8f6795833e00a4c7b556 Mon Sep 17 00:00:00 2001 From: Michael Sloan Date: Sat, 18 Jan 2025 11:19:16 -0700 Subject: [PATCH] assistant2: fix use with rust-analyzer `"workspace": false` (#23326) Before this was getting errors about `TestAppContext` not existing. Release Notes: - N/A --- crates/assistant2/Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/crates/assistant2/Cargo.toml b/crates/assistant2/Cargo.toml index ea3b7935e68b2f1fab5609eb4972e62d355d5c3a..bb83607bba8dc850b6879eae665d14634e514c38 100644 --- a/crates/assistant2/Cargo.toml +++ b/crates/assistant2/Cargo.toml @@ -12,6 +12,14 @@ workspace = true path = "src/assistant.rs" doctest = false +[features] +test-support = [ + "editor/test-support", + "language/test-support", + "project/test-support", + "text/test-support", +] + [dependencies] anyhow.workspace = true assistant_settings.workspace = true