bootstrap(builder.rs): Don't explicitly warn against `semicolon_in_ex… · rust-lang/rust@a0ba895 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit a0ba895

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 #79813 for the tracking issue.

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -1872,7 +1872,6 @@ impl<'a> Builder<'a> {
1872 1872 // some code doesn't go through this `rustc` wrapper.
1873 1873 lint_flags.push("-Wrust_2018_idioms");
1874 1874 lint_flags.push("-Wunused_lifetimes");
1875 - lint_flags.push("-Wsemicolon_in_expressions_from_macros");
1876 1875
1877 1876 if self.config.deny_warnings {
1878 1877 lint_flags.push("-Dwarnings");