Skip to content

Commit

Permalink
Rollup merge of rust-lang#118642 - Xanewok:patch-1, r=clubby789
Browse files Browse the repository at this point in the history
bootstrap(builder.rs): Don't explicitly warn against `semicolon_in_expressions_from_macros`

This already wasn't passed in bootstrap.py and the lint itself already warns-by-default for 2 years now and has already been added to the future-incompat group in Rust 1.68.

See rust-lang#79813 for the tracking issue.
  • Loading branch information
compiler-errors authored Dec 5, 2023
2 parents 7c09391 + a0ba895 commit d3dfbd8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/bootstrap/src/core/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1872,7 +1872,6 @@ impl<'a> Builder<'a> {
// some code doesn't go through this `rustc` wrapper.
lint_flags.push("-Wrust_2018_idioms");
lint_flags.push("-Wunused_lifetimes");
lint_flags.push("-Wsemicolon_in_expressions_from_macros");

if self.config.deny_warnings {
lint_flags.push("-Dwarnings");
Expand Down

0 comments on commit d3dfbd8

Please sign in to comment.