diff options
Diffstat (limited to 'crates/hir_ty/src/tests/traits.rs')
-rw-r--r-- | crates/hir_ty/src/tests/traits.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/crates/hir_ty/src/tests/traits.rs b/crates/hir_ty/src/tests/traits.rs index d237c3998..fb13e3ac5 100644 --- a/crates/hir_ty/src/tests/traits.rs +++ b/crates/hir_ty/src/tests/traits.rs | |||
@@ -2604,12 +2604,9 @@ fn test<T: Trait>() { | |||
2604 | fn dyn_trait_through_chalk() { | 2604 | fn dyn_trait_through_chalk() { |
2605 | check_types( | 2605 | check_types( |
2606 | r#" | 2606 | r#" |
2607 | //- minicore: deref | ||
2607 | struct Box<T> {} | 2608 | struct Box<T> {} |
2608 | #[lang = "deref"] | 2609 | impl<T> core::ops::Deref for Box<T> { |
2609 | trait Deref { | ||
2610 | type Target; | ||
2611 | } | ||
2612 | impl<T> Deref for Box<T> { | ||
2613 | type Target = T; | 2610 | type Target = T; |
2614 | } | 2611 | } |
2615 | trait Trait { | 2612 | trait Trait { |