mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
fix: handle new TypeBoundKind
variant
This commit is contained in:
parent
d42e85758c
commit
9f74787d5d
1 changed files with 1 additions and 0 deletions
|
@ -379,6 +379,7 @@ impl TypeBound {
|
|||
None => TypeBound::Error,
|
||||
}
|
||||
}
|
||||
ast::TypeBoundKind::Use(_) => TypeBound::Error,
|
||||
ast::TypeBoundKind::Lifetime(lifetime) => {
|
||||
TypeBound::Lifetime(LifetimeRef::new(&lifetime))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue