Propagate #[allow(dead_code)] on adts to their inherent impls#157885
Propagate #[allow(dead_code)] on adts to their inherent impls#157885mu001999 wants to merge 2 commits into
#[allow(dead_code)] on adts to their inherent impls#157885Conversation
0ff50d6 to
93cdd71
Compare
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Propagate `#[allow(dead_code)]` on adts to their inherent impls
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (25aedf1): comparison URL. Overall result: ❌ regressions - please read:Benchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf. Next, please: If you can, justify the regressions found in this try perf run in writing along with @bors rollup=never Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary -2.3%, secondary -1.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 21.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 519.503s -> 518.599s (-0.17%) |
93cdd71 to
cbc2406
Compare
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
Propagate `#[allow(dead_code)]` on adts to their inherent impls
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (848b0fa): comparison URL. Overall result: ❌✅ regressions and improvements - please read:Benchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf. Next, please: If you can, justify the regressions found in this try perf run in writing along with @bors rollup=never Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary -5.4%, secondary 1.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 1.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 522.035s -> 522.314s (0.05%) |
cbc2406 to
f1229af
Compare
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Propagate `#[allow(dead_code)]` on adts to their inherent impls
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (4d34c0f): comparison URL. Overall result: ❌✅ regressions and improvements - please read:Benchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf. Next, please: If you can, justify the regressions found in this try perf run in writing along with @bors rollup=never Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 3.9%, secondary 3.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesThis perf run didn't have relevant results for this metric. Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 523.739s -> 522.828s (-0.17%) |
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Propagate `#[allow(dead_code)]` on adts to their inherent impls
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (ac3f172): comparison URL. Overall result: ❌✅ regressions and improvements - please read:Benchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf. Next, please: If you can, justify the regressions found in this try perf run in writing along with @bors rollup=never Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary -1.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.9%, secondary -0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 522.822s -> 523.673s (0.16%) |
|
rustbot has assigned @dingxiangfei2009. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
@dingxiangfei2009 friendly ping |
|
Seems @dingxiangfei2009 has no time to review this, so @rustbot reroll |
#[allow(dead_code)]
struct Foo;
impl Foo {
fn foo(&self) {}
}Do we think this should actually make @rustbot nominate lang |
|
Error: The feature Please file an issue on GitHub at triagebot if there's a problem with this bot, or reach out on #triagebot on Zulip. |
View all comments
This PR does:
#[allow(dead_code)]on adts to their inherent impls and impl itemsAfter the above, there is still some slight perf regressions because we indeed do more things (for inherent impls).
Fixes #149142