This commit is contained in:
Edwin Cheng 2020-01-12 19:24:34 +08:00
parent d7be1a4372
commit db5f73d261

View file

@ -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)"],
);
}
}