aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-06-19 10:03:59 +0100
committerAleksey Kladov <[email protected]>2021-06-19 10:03:59 +0100
commit7df6852b6e617c1d5a11f293a3d78f8087dc8c38 (patch)
tree2bf8944c270bdb0d7970a70b0a5a5fdc65c96166 /crates/ide/src
parent3762cc7465e485948b426857b265f274688dedea (diff)
minor: use minicore
Diffstat (limited to 'crates/ide/src')
-rw-r--r--crates/ide/src/goto_implementation.rs7
1 files changed, 1 insertions, 6 deletions
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 {}
236 fn goto_implementation_to_builtin_derive() { 236 fn goto_implementation_to_builtin_derive() {
237 check( 237 check(
238 r#" 238 r#"
239//- minicore: copy, derive
239 #[derive(Copy)] 240 #[derive(Copy)]
240//^^^^^^^^^^^^^^^ 241//^^^^^^^^^^^^^^^
241struct Foo$0; 242struct Foo$0;
242
243mod marker {
244 trait Copy {}
245}
246#[rustc_builtin_macro]
247macro Copy {}
248"#, 243"#,
249 ); 244 );
250 } 245 }