fix unused binding

This commit is contained in:
Esteban Küber 2024-07-12 03:04:06 +00:00
parent 377d14be88
commit b6f518877f

View File

@ -1610,7 +1610,7 @@ impl<'a> Parser<'a> {
} }
self.bump(); // `+` self.bump(); // `+`
let bounds = self.parse_generic_bounds()?; let _bounds = self.parse_generic_bounds()?;
let sum_span = ty.span.to(self.prev_token.span); let sum_span = ty.span.to(self.prev_token.span);
let sub = match &ty.kind { let sub = match &ty.kind {