Skip to content

Commit

Permalink
Unrolled build for rust-lang#118642
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#118642 - Xanewok:patch-1, r=clubby789

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
rust-timer authored Dec 6, 2023
2 parents 84a554c + a0ba895 commit c31e4d7
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 c31e4d7

Please sign in to comment.