From ed8968af495b28c51e62a762b8b8ed711a43cf6c Mon Sep 17 00:00:00 2001 From: Paul Daniel Faria Date: Thu, 24 Sep 2020 10:14:25 -0400 Subject: Cleanup unintended unresolved reference in syntax higlighting test --- crates/ide/src/syntax_highlighting/test_data/highlighting.html | 6 +++--- crates/ide/src/syntax_highlighting/tests.rs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'crates') diff --git a/crates/ide/src/syntax_highlighting/test_data/highlighting.html b/crates/ide/src/syntax_highlighting/test_data/highlighting.html index cde42024c..1d8a3c404 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 57d4e1252..211e62ea1 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 @@ impl Foo { } } -#[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); -- cgit v1.2.3