Skip to content

Commit aa006a3

Browse files
committed
Auto merge of rust-lang#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 rust-lang#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 🙏
2 parents 73db2e4 + 02f96cc commit aa006a3

File tree

1 file changed

+3
-1
lines changed
  • src/tools/miri/miri-script/src

1 file changed

+3
-1
lines changed

src/tools/miri/miri-script/src/util.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ impl MiriEnv {
7373
flags.push("-C link-args=-Wl,-rpath,");
7474
flags.push(libdir);
7575
// Enable rustc-specific lints (ignored without `-Zunstable-options`).
76-
flags.push(" -Zunstable-options -Wrustc::internal -Wrust_2018_idioms -Wunused_lifetimes -Wsemicolon_in_expressions_from_macros");
76+
flags.push(
77+
" -Zunstable-options -Wrustc::internal -Wrust_2018_idioms -Wunused_lifetimes",
78+
);
7779
// Add user-defined flags.
7880
if let Some(value) = std::env::var_os("RUSTFLAGS") {
7981
flags.push(" ");

0 commit comments

Comments
 (0)