Skip to content

Commit

Permalink
fix unused binding
Browse files Browse the repository at this point in the history
  • Loading branch information
estebank committed Jul 12, 2024
1 parent 377d14b commit b6f5188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_parse/src/parser/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1610,7 +1610,7 @@ impl<'a> Parser<'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 {
Expand Down

0 comments on commit b6f5188

Please sign in to comment.