fix: handle new TypeBoundKind variant
This commit is contained in:
parent
113c45847a
commit
71e3d88281
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