minor: use minicore
This commit is contained in:
@@ -236,15 +236,10 @@ impl T for &Foo {}
|
|||||||
fn goto_implementation_to_builtin_derive() {
|
fn goto_implementation_to_builtin_derive() {
|
||||||
check(
|
check(
|
||||||
r#"
|
r#"
|
||||||
|
//- minicore: copy, derive
|
||||||
#[derive(Copy)]
|
#[derive(Copy)]
|
||||||
//^^^^^^^^^^^^^^^
|
//^^^^^^^^^^^^^^^
|
||||||
struct Foo$0;
|
struct Foo$0;
|
||||||
|
|
||||||
mod marker {
|
|
||||||
trait Copy {}
|
|
||||||
}
|
|
||||||
#[rustc_builtin_macro]
|
|
||||||
macro Copy {}
|
|
||||||
"#,
|
"#,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user