Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/hover/tests.rs')
| -rw-r--r-- | crates/ide/src/hover/tests.rs | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/crates/ide/src/hover/tests.rs b/crates/ide/src/hover/tests.rs index 8fe932e2df..014b751f95 100644 --- a/crates/ide/src/hover/tests.rs +++ b/crates/ide/src/hover/tests.rs @@ -10349,40 +10349,3 @@ macro_rules! str { "#]], ); } - -#[test] -fn regression_19007() { - check( - r#" -trait Foo { - type Assoc; - - fn foo(&self) -> Self::Assoc; -} - -trait Bar { - type Target; -} - -trait Baz<T> {} - -struct Struct<T: Foo> { - field: T, -} - -impl<T> Struct<T> -where - T: Foo, - T::Assoc: Baz<<T::Assoc as Bar>::Target> + Bar, -{ - fn f(&self) { - let x$0 = self.field.foo(); - } -} - "#, - expect![ - r#" - "# - ], - ); -} |