Move trait bound modifiers into ast::PolyTraitRef
This commit is contained in:
parent
7500e09b8b
commit
95dba280b9
17 changed files with 118 additions and 103 deletions
|
@ -2113,7 +2113,7 @@ impl<'a> Parser<'a> {
|
|||
&& let Some(poly) = bounds
|
||||
.iter()
|
||||
.filter_map(|bound| match bound {
|
||||
ast::GenericBound::Trait(poly, _) => Some(poly),
|
||||
ast::GenericBound::Trait(poly) => Some(poly),
|
||||
_ => None,
|
||||
})
|
||||
.last()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue