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/tests.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/ide/src/syntax_highlighting/tests.rs') 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