about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-12-05 14:52:44 -0500
committerGitHub <noreply@github.com>2023-12-05 14:52:44 -0500
commit0a8c0f780f7d67f2d386aa427a1be1e6ce61b88c (patch)
tree906571e5f7be1407a83b8c96ae8876d13f92ee59
parente8133700a2e1ea4ac2f6d40e5820d4cffdf5f0d5 (diff)
parenta0ba895f2d6bf94da9a083eb4afce7bf6fb730a4 (diff)
Rollup merge of #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 https://github.com/rust-lang/rust/issues/79813 for the tracking issue.
-rw-r--r--src/bootstrap/src/core/builder.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bootstrap/src/core/builder.rs b/src/bootstrap/src/core/builder.rs
index 65af2aed6de..80dc5439b3b 100644
--- a/src/bootstrap/src/core/builder.rs
+++ b/src/bootstrap/src/core/builder.rs
@@ -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");