From 7df6852b6e617c1d5a11f293a3d78f8087dc8c38 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 19 Jun 2021 12:03:59 +0300 Subject: minor: use minicore --- crates/ide/src/goto_implementation.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'crates/ide') diff --git a/crates/ide/src/goto_implementation.rs b/crates/ide/src/goto_implementation.rs index 0013820b4..07686017d 100644 --- a/crates/ide/src/goto_implementation.rs +++ b/crates/ide/src/goto_implementation.rs @@ -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 {} "#, ); } -- cgit v1.2.3