mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-06 20:28:33 +00:00
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.
This commit is contained in:
commit
0a8c0f780f
@ -1872,7 +1872,6 @@ impl<'a> Builder<'a> {
|
|||||||
// some code doesn't go through this `rustc` wrapper.
|
// some code doesn't go through this `rustc` wrapper.
|
||||||
lint_flags.push("-Wrust_2018_idioms");
|
lint_flags.push("-Wrust_2018_idioms");
|
||||||
lint_flags.push("-Wunused_lifetimes");
|
lint_flags.push("-Wunused_lifetimes");
|
||||||
lint_flags.push("-Wsemicolon_in_expressions_from_macros");
|
|
||||||
|
|
||||||
if self.config.deny_warnings {
|
if self.config.deny_warnings {
|
||||||
lint_flags.push("-Dwarnings");
|
lint_flags.push("-Dwarnings");
|
||||||
|
Loading…
Reference in New Issue
Block a user