mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Don't lower TypeBound::Lifetime as GenericPredicate::Error
This commit is contained in:
parent
ba3a5c518a
commit
9e5192d917
4 changed files with 23 additions and 25 deletions
|
@ -3417,7 +3417,7 @@ impl<T> Foo<T$0> {}
|
|||
```
|
||||
"#]],
|
||||
);
|
||||
// lifetimes aren't being substituted yet
|
||||
// lifetimes bounds arent being tracked yet
|
||||
check(
|
||||
r#"
|
||||
struct Foo<T>(T);
|
||||
|
@ -3427,7 +3427,7 @@ impl<T: 'static> Foo<T$0> {}
|
|||
*T*
|
||||
|
||||
```rust
|
||||
T: {error}
|
||||
T
|
||||
```
|
||||
"#]],
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue