We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e39fca3 commit 79e357cCopy full SHA for 79e357c
src/item.rs
@@ -1179,14 +1179,14 @@ pub mod parsing {
1179
let mut bounds = Punctuated::new();
1180
if colon_token.is_some() {
1181
loop {
1182
- bounds.push_value(input.parse::<TypeParamBound>()?);
1183
if input.peek(Token![where]) || input.peek(Token![=]) || input.peek(Token![;]) {
1184
break;
1185
}
1186
- bounds.push_punct(input.parse::<Token![+]>()?);
+ bounds.push_value(input.parse::<TypeParamBound>()?);
1187
1188
1189
+ bounds.push_punct(input.parse::<Token![+]>()?);
1190
1191
1192
generics.where_clause = input.parse()?;
0 commit comments