mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 11:59:49 +00:00
minor: use minicore
This commit is contained in:
parent
3762cc7465
commit
7df6852b6e
1 changed files with 1 additions and 6 deletions
|
@ -236,15 +236,10 @@ impl T for &Foo {}
|
|||
fn goto_implementation_to_builtin_derive() {
|
||||
check(
|
||||
r#"
|
||||
//- minicore: copy, derive
|
||||
#[derive(Copy)]
|
||||
//^^^^^^^^^^^^^^^
|
||||
struct Foo$0;
|
||||
|
||||
mod marker {
|
||||
trait Copy {}
|
||||
}
|
||||
#[rustc_builtin_macro]
|
||||
macro Copy {}
|
||||
"#,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue