-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove dead code from compiletest::json
#89993
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
Are you compiling with a custom bootstrap compiler? I would have expected the warning to be caught in CI... |
This came up when doing rustc dev work, so probably yes. |
With current nightly:
|
Oh, it's not generally expected that you'd try to build tools by hand like that -- we only verify building against the beta compiler in src/stage0.json, which is automatically provisioned by x.py for you. I'll r+ this in the meantime, though, since it seems like a nice cleanup regardless. @bors r+ rollup |
📌 Commit b87a0b0 has been approved by |
…askrgr Rollup of 8 pull requests Successful merges: - rust-lang#89950 (bootstrap: tweak verbosity settings) - rust-lang#89965 (Fix ICE with `let...else` and `ref mut`) - rust-lang#89974 (Nicer error message if the user attempts to do let...else if) - rust-lang#89987 (Check implementing type for `#[doc(hidden)]`) - rust-lang#89989 (rustdoc: Add static size assertion for `clean::Type`) - rust-lang#89990 (rustc_span: `Ident::invalid` -> `Ident::empty`) - rust-lang#89993 (Remove dead code from `compiletest::json`) - rust-lang#89996 (Bump backtrace) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Currently getting a dead code warning on master. Might make sense to remove.