diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-06-19 10:18:34 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-19 10:18:34 +0100 |
commit | c2aa7782d65c4f2765f68b99f00f4203e1f143c1 (patch) | |
tree | b02ab4443aa65cacfec2ca04f8d92a58804f7d15 /crates | |
parent | 0d3bad85e60d011b35da0a8e5dd6611934f6816d (diff) | |
parent | 7df6852b6e617c1d5a11f293a3d78f8087dc8c38 (diff) |
Merge #9338
9338: minor: use minicore r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates')
-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 | } |