mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Cleanup unintended unresolved reference in syntax higlighting test
This commit is contained in:
parent
9d3483a74d
commit
ed8968af49
2 changed files with 6 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue