diff --git a/crates/ide/src/syntax_highlighting/test_data/highlighting.html b/crates/ide/src/syntax_highlighting/test_data/highlighting.html
index cde42024c03..1d8a3c40464 100644
--- a/crates/ide/src/syntax_highlighting/test_data/highlighting.html
+++ b/crates/ide/src/syntax_highlighting/test_data/highlighting.html
@@ -44,7 +44,7 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
pub trait Copy {}
}
-#[derive(Clone, Debug)]
+
struct Foo {
pub x: i32,
pub y: i32,
@@ -74,7 +74,7 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
}
}
-#[derive(Copy, Clone)]
+#[derive(Copy)]
struct FooCopy {
x: u32,
}
@@ -144,7 +144,7 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
y;
let mut foo = Foo { x, y: x };
- let foo2 = foo.clone();
+ let foo2 = Foo { x, y: x };
foo.quop();
foo.qux();
foo.baz(foo2);
diff --git a/crates/ide/src/syntax_highlighting/tests.rs b/crates/ide/src/syntax_highlighting/tests.rs
index 57d4e1252d2..211e62ea1fc 100644
--- a/crates/ide/src/syntax_highlighting/tests.rs
+++ b/crates/ide/src/syntax_highlighting/tests.rs
@@ -18,7 +18,7 @@ pub mod marker {
pub trait Copy {}
}
-#[derive(Clone, Debug)]
+
struct Foo {
pub x: i32,
pub y: i32,
@@ -48,7 +48,7 @@ fn quop(&self) -> i32 {
}
}
-#[derive(Copy, Clone)]
+#[derive(Copy)]
struct FooCopy {
x: u32,
}
@@ -118,7 +118,7 @@ fn main() {
y;
let mut foo = Foo { x, y: x };
- let foo2 = foo.clone();
+ let foo2 = Foo { x, y: x };
foo.quop();
foo.qux();
foo.baz(foo2);