about summary refs log tree commit diff
diff options
context:
space:
mode:
authorIgor Matuszewski <Xanewok@gmail.com>2023-12-05 12:11:29 +0100
committerGitHub <noreply@github.com>2023-12-05 12:11:29 +0100
commita0ba895f2d6bf94da9a083eb4afce7bf6fb730a4 (patch)
treee79e377c8f744b94456e874b89a813a0e2e62939
parentf536185ed8fe11d45da662c8575f4253fede3986 (diff)
downloadrust-a0ba895f2d6bf94da9a083eb4afce7bf6fb730a4.tar.gz
rust-a0ba895f2d6bf94da9a083eb4afce7bf6fb730a4.zip
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");