]> git.lizzy.rs Git - rust.git/commit
Auto merge of #1889 - hyd-dev:rustup, r=RalfJung
authorbors <bors@rust-lang.org>
Sat, 11 Sep 2021 15:47:22 +0000 (15:47 +0000)
committerbors <bors@rust-lang.org>
Sat, 11 Sep 2021 15:47:22 +0000 (15:47 +0000)
commit82901dcbb36c852ec45b6d76a4bca93982fe850b
treee5914fa47bf978a8148041034661e8e94f65b1d5
parent035933186957cf81c488261fb48a98bf523e8006
parent9a877b80fe46671cca93582856c6b6867c10770b
Auto merge of #1889 - hyd-dev:rustup, r=RalfJung

Add `#[allow(dead_code)]` in some tests

There are some new dead code warnings in the tests: https://github.com/rust-lang/miri/runs/3573853719?check_suite_focus=true#step:8:290
I guess this is related to https://github.com/rust-lang/rust/pull/85200, and add `#[allow(dead_code)]` to suppress them in this PR (I assume this is fine because https://github.com/rust-lang/rust/pull/85200 also suppresses warnings in rustc's tests).