diff options
author | Aleksey Kladov <[email protected]> | 2021-06-19 10:03:59 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-06-19 10:03:59 +0100 |
commit | 7df6852b6e617c1d5a11f293a3d78f8087dc8c38 (patch) | |
tree | 2bf8944c270bdb0d7970a70b0a5a5fdc65c96166 /crates/ide | |
parent | 3762cc7465e485948b426857b265f274688dedea (diff) |
minor: use minicore
Diffstat (limited to 'crates/ide')
-rw-r--r-- | crates/ide/src/goto_implementation.rs | 7 |
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 | //^^^^^^^^^^^^^^^ |
241 | struct Foo$0; | 242 | struct Foo$0; |
242 | |||
243 | mod marker { | ||
244 | trait Copy {} | ||
245 | } | ||
246 | #[rustc_builtin_macro] | ||
247 | macro Copy {} | ||
248 | "#, | 243 | "#, |
249 | ); | 244 | ); |
250 | } | 245 | } |