Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/references.rs')
-rw-r--r--crates/ide/src/references.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide/src/references.rs b/crates/ide/src/references.rs
index 291b1a349b..fdc5261ac3 100644
--- a/crates/ide/src/references.rs
+++ b/crates/ide/src/references.rs
@@ -1289,7 +1289,7 @@ trait Foo where Self$0 {
impl Foo for () {}
"#,
expect![[r#"
- Self TypeParam FileId(0) 6..9 6..9
+ Self TypeParam FileId(0) 0..44 6..9
FileId(0) 16..20
FileId(0) 37..41
@@ -1380,7 +1380,7 @@ fn foo<T: Bar>(_: impl Bar, _: &dyn Bar) {}
trait Foo = where Self$0: ;
"#,
expect![[r#"
- Self TypeParam FileId(0) 6..9 6..9
+ Self TypeParam FileId(0) 0..25 6..9
FileId(0) 18..22
"#]],