Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Revert "gpui: Skip `test` attribute expansion for rust-analyzer (#37611)" (#37705)
Kirill Bulatove04473dd2612
diff --git a/crates/gpui/src/gpui.rs b/crates/gpui/src/gpui.rsindex 0858cb014e3..3c4ee41c16a 100644--- a/crates/gpui/src/gpui.rs+++ b/crates/gpui/src/gpui.rs@@ -121,14 +121,6 @@ mod seal {pub trait Sealed {}}-// This allows r-a to skip expanding the gpui test macro which should-// reduce resource usage a bit as the test attribute is special cased-// to be treated as a no-op.-#[cfg(rust_analyzer)]-pub use core::prelude::v1::test;-#[cfg(not(rust_analyzer))]-pub use gpui_macros::test;-pub use action::*;pub use anyhow::Result;pub use app::*;@@ -142,7 +134,7 @@ pub use elements::*;pub use executor::*;pub use geometry::*;pub use global::*;-pub use gpui_macros::{AppContext, IntoElement, Render, VisualContext, register_action};+pub use gpui_macros::{AppContext, IntoElement, Render, VisualContext, register_action, test};pub use http_client;pub use input::*;pub use inspector::*;