mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
fix: handle new TypeBoundKind
variant
This commit is contained in:
parent
d42e85758c
commit
9f74787d5d
@ -379,6 +379,7 @@ impl TypeBound {
|
|||||||
None => TypeBound::Error,
|
None => TypeBound::Error,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
ast::TypeBoundKind::Use(_) => TypeBound::Error,
|
||||||
ast::TypeBoundKind::Lifetime(lifetime) => {
|
ast::TypeBoundKind::Lifetime(lifetime) => {
|
||||||
TypeBound::Lifetime(LifetimeRef::new(&lifetime))
|
TypeBound::Lifetime(LifetimeRef::new(&lifetime))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user