mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Add test
This commit is contained in:
parent
d7be1a4372
commit
db5f73d261
@ -203,4 +203,16 @@ mod tests {
|
|||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn goto_implementation_to_builtin_derive() {
|
||||||
|
check_goto(
|
||||||
|
"
|
||||||
|
//- /lib.rs
|
||||||
|
#[derive(Copy)]
|
||||||
|
struct Foo<|>;
|
||||||
|
",
|
||||||
|
&["impl IMPL_BLOCK FileId(1) [0; 15)"],
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user