aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/hover.rs
diff options
context:
space:
mode:
authorLukas Wirth <[email protected]>2021-02-20 17:51:42 +0000
committerLukas Wirth <[email protected]>2021-02-20 18:08:20 +0000
commit9e5192d917e998d78fd25c4013eb8117f7401068 (patch)
tree7b086dc1856824008099a1f4533bf4987383b076 /crates/ide/src/hover.rs
parentba3a5c518a4e20ddacad05d7a8a67704ca2b2a9a (diff)
Don't lower TypeBound::Lifetime as GenericPredicate::Error
Diffstat (limited to 'crates/ide/src/hover.rs')
-rw-r--r--crates/ide/src/hover.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide/src/hover.rs b/crates/ide/src/hover.rs
index 69b828f47..9a605b09d 100644
--- a/crates/ide/src/hover.rs
+++ b/crates/ide/src/hover.rs
@@ -3417,7 +3417,7 @@ impl<T> Foo<T$0> {}
3417 ``` 3417 ```
3418 "#]], 3418 "#]],
3419 ); 3419 );
3420 // lifetimes aren't being substituted yet 3420 // lifetimes bounds arent being tracked yet
3421 check( 3421 check(
3422 r#" 3422 r#"
3423struct Foo<T>(T); 3423struct Foo<T>(T);
@@ -3427,7 +3427,7 @@ impl<T: 'static> Foo<T$0> {}
3427 *T* 3427 *T*
3428 3428
3429 ```rust 3429 ```rust
3430 T: {error} 3430 T
3431 ``` 3431 ```
3432 "#]], 3432 "#]],
3433 ); 3433 );