Replace visibility test with reachability test in dead code detection#119552
Replace visibility test with reachability test in dead code detection#119552bors merged 9 commits intorust-lang:masterfrom
Conversation
|
r? @cjgillot (rustbot has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Hm, my bad it took me some time to figure out why things were compiling on my side but not in the CI. I'll fix all the previously undetected dead code and you can review then. @rustbot author |
3e34b88 to
e6d8c78
Compare
This comment has been minimized.
This comment has been minimized.
e6d8c78 to
4521396
Compare
|
Some changes occurred in compiler/rustc_codegen_gcc |
4521396 to
549f08f
Compare
This comment has been minimized.
This comment has been minimized.
549f08f to
73be48a
Compare
|
The Miri subtree was changed cc @rust-lang/miri Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
This comment has been minimized.
This comment has been minimized.
src/tools/clippy/tests/ui-toml/needless_raw_string_hashes_one_allowed/clippy.toml
Outdated
Show resolved
Hide resolved
I hesitated and discussed with other contributors to Rust. My issue with having it in a clippy specific PR is that I don't have a good solution to pass the CI in this one. I can delete or mark as |
|
Ah, was the |
73be48a to
5be1860
Compare
|
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
This comment has been minimized.
This comment has been minimized.
|
Well it seems to finally pass the CI! Didn't expect it to end-up being a +120/-51 PR 😅 Anyway @rustbot review |
|
@rustbot author |
|
the failure may be spurious |
|
oh wait no you modified CI |
|
@bors r- |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Suggestion (or argue that my suggestion is a bad idea), then I'll re-apply approval. |
|
@bors r=cjgillot,saethlin |
This comment has been minimized.
This comment has been minimized.
|
💔 Test failed - checks-actions |
|
@rustbot author I need to find a way to compile src/bootstrap locally with the stage1 compiler to get rid of all errors befors re pushing. |
The dead_code lint was previously eroneously missing this dead code. Since this lint bug has been fixed, the unused field need to be removed or marked as `#[allow(dead_code)]`. Given that this struct is deserialized without #[serde(deny_unknown_fields)] it is ok to simply delete the never read fields.
|
@rustbot review |
|
@bors r=cjgillot,saethlin |
|
higher! |
|
☀️ Test successful - checks-actions |
|
Finished benchmarking commit (c308726): comparison URL. Overall result: ❌ regressions - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 671.121s -> 671.167s (0.01%) |
Fixes #119545
Also included is a fix for an error now flagged by the lint