minor: use minicore

This commit is contained in:
Aleksey Kladov 2021-06-19 12:03:59 +03:00
parent 3762cc7465
commit 7df6852b6e

View File

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