aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/tests/traits.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/hir_ty/src/tests/traits.rs')
-rw-r--r--crates/hir_ty/src/tests/traits.rs7
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>() {
2604fn dyn_trait_through_chalk() { 2604fn dyn_trait_through_chalk() {
2605 check_types( 2605 check_types(
2606 r#" 2606 r#"
2607//- minicore: deref
2607struct Box<T> {} 2608struct Box<T> {}
2608#[lang = "deref"] 2609impl<T> core::ops::Deref for Box<T> {
2609trait Deref {
2610 type Target;
2611}
2612impl<T> Deref for Box<T> {
2613 type Target = T; 2610 type Target = T;
2614} 2611}
2615trait Trait { 2612trait Trait {