]> git.lizzy.rs Git - rust.git/commitdiff
update references::derive test output
authorLukas Wirth <lukastw97@gmail.com>
Tue, 22 Feb 2022 09:52:35 +0000 (10:52 +0100)
committerLukas Wirth <lukastw97@gmail.com>
Tue, 22 Feb 2022 09:52:35 +0000 (10:52 +0100)
crates/ide/src/references.rs

index 91c311fe94e65c25bd3c0de3de1951b15f1dfd09..38edda9c1c088466a1bbcac58fa615950d7b221a 100644 (file)
@@ -1564,7 +1564,6 @@ fn func$0() {}
         );
     }
 
-    // FIXME
     #[test]
     fn derive() {
         check(
@@ -1575,7 +1574,11 @@ fn derive() {
 #[derive(proc_macros::DeriveIdentity$0)]
 struct Foo;
 "#,
-            expect![[r#""#]],
+            expect![[r#"
+                derive_identity Derive FileId(2) 1..107 45..60
+
+                FileId(0) 23..37
+            "#]],
         )
     }
 }