Skip to content

Commit 7df6852

Browse files
committed
minor: use minicore
1 parent 3762cc7 commit 7df6852

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

crates/ide/src/goto_implementation.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -236,15 +236,10 @@ impl T for &Foo {}
236236
fn goto_implementation_to_builtin_derive() {
237237
check(
238238
r#"
239+
//- minicore: copy, derive
239240
#[derive(Copy)]
240241
//^^^^^^^^^^^^^^^
241242
struct Foo$0;
242-
243-
mod marker {
244-
trait Copy {}
245-
}
246-
#[rustc_builtin_macro]
247-
macro Copy {}
248243
"#,
249244
);
250245
}

0 commit comments

Comments
 (0)