diff options
| author | bors <bors@rust-lang.org> | 2023-12-05 13:03:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-12-05 13:03:56 +0000 |
| commit | aa006a312a76279b1089fcbb344094f4c3ead85b (patch) | |
| tree | dbc5979c5ced1b5c720ee958b9719b858ad22fc0 | |
| parent | 73db2e48d78750d96bb54915738d46d365395226 (diff) | |
| parent | 02f96cc363ab2c7c8ddef26164598db46fcc6b7d (diff) | |
| download | rust-aa006a312a76279b1089fcbb344094f4c3ead85b.tar.gz rust-aa006a312a76279b1089fcbb344094f4c3ead85b.zip | |
Auto merge of #3212 - Xanewok:patch-1, r=RalfJung
Don't explicitly warn against `semicolon_in_expressions_from_macros` This warns-by-default since 2 years and already has been added to the future-incompat group since Rust 1.68. See https://github.com/rust-lang/rust/issues/79813 for the tracking issue. Just something I noticed when trying to wrap my head around lints warned against in the rust-lang/rust and noticed it's not warned against anymore; let me know if the change makes sense :pray:
| -rw-r--r-- | src/tools/miri/miri-script/src/util.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/miri/miri-script/src/util.rs b/src/tools/miri/miri-script/src/util.rs index 64e780b61a7..c9bc55848df 100644 --- a/src/tools/miri/miri-script/src/util.rs +++ b/src/tools/miri/miri-script/src/util.rs @@ -73,7 +73,9 @@ impl MiriEnv { flags.push("-C link-args=-Wl,-rpath,"); flags.push(libdir); // Enable rustc-specific lints (ignored without `-Zunstable-options`). - flags.push(" -Zunstable-options -Wrustc::internal -Wrust_2018_idioms -Wunused_lifetimes -Wsemicolon_in_expressions_from_macros"); + flags.push( + " -Zunstable-options -Wrustc::internal -Wrust_2018_idioms -Wunused_lifetimes", + ); // Add user-defined flags. if let Some(value) = std::env::var_os("RUSTFLAGS") { flags.push(" "); |
