Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--crates/ide/src/expand_macro.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/ide/src/expand_macro.rs b/crates/ide/src/expand_macro.rs
index 8feaa3b7be..68eeae226e 100644
--- a/crates/ide/src/expand_macro.rs
+++ b/crates/ide/src/expand_macro.rs
@@ -366,10 +366,12 @@ fn main() {
fn macro_expand_derive() {
check(
r#"
+//- proc_macros: identity
+
#[rustc_builtin_macro]
pub macro Clone {}
-#[doc = ""]
+#[proc_macros::identity]
#[derive(C$0lone)]
struct Foo {}
"#,