mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Add test
This commit is contained in:
parent
d7be1a4372
commit
db5f73d261
1 changed files with 12 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue