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 @@ pub(super) fn maybe_recover_from_bad_type_plus(&mut self, ty: &Ty) -> PResult<'a
}
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 sub = match &ty.kind {