mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
minor: use minicore
This commit is contained in:
parent
3762cc7465
commit
7df6852b6e
@ -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…
Reference in New Issue
Block a user