Underscore-prefixed bindings are explicitly allowed to be unused#150955
Conversation
|
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
|
r? @fee1-dead rustbot has assigned @fee1-dead. Use |
|
@bors r+ rollup |
…=fee1-dead Underscore-prefixed bindings are explicitly allowed to be unused Fixes rust-lang#149889
Rollup of 9 pull requests Successful merges: - #148769 (Stabilize `alloc_layout_extra`) - #149440 (Remove suggestion from importing unstable items on stable channel) - #150200 (Add title field to `ice.md` issue template) - #150955 (Underscore-prefixed bindings are explicitly allowed to be unused) - #151200 (time: Add saturating arithmetic for `SystemTime`) - #151235 (Change field `bit_width: usize` to `bits: u32` in type info) - #151242 (Port #[needs_allocator] to attribute parser) - #151274 (Include a link to `count_ones` in the docs for `uN::count_zeros` [docs only]) - #151279 (remove trailing periods in built-in attribute gate messages) r? @ghost
Rollup of 8 pull requests Successful merges: - #148769 (Stabilize `alloc_layout_extra`) - #150200 (Add title field to `ice.md` issue template) - #150955 (Underscore-prefixed bindings are explicitly allowed to be unused) - #151200 (time: Add saturating arithmetic for `SystemTime`) - #151235 (Change field `bit_width: usize` to `bits: u32` in type info) - #151242 (Port #[needs_allocator] to attribute parser) - #151274 (Include a link to `count_ones` in the docs for `uN::count_zeros` [docs only]) - #151279 (remove trailing periods in built-in attribute gate messages) r? @ghost
|
Investigating regression from #151291, @rust-timer build a4ae3dd |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (a4ae3dd): comparison URL. Overall result: ❌✅ regressions and improvements - please read the text belowBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please do so in sufficient 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 (secondary -2.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 4.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary -0.0%, secondary -0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 474.856s -> 470.984s (-0.82%) |
|
I think the check should be moved to a new place here: so that it will only check when unused is reported, and will not affect normal code path. |
|
Nice, but this still doesn't explain all regressions in that rollup. I'll check other PRs, too. |
Fix performance issue in liveness checking r? @ghost from #150955 (comment)
Rollup of 8 pull requests Successful merges: - rust-lang/rust#148769 (Stabilize `alloc_layout_extra`) - rust-lang/rust#150200 (Add title field to `ice.md` issue template) - rust-lang/rust#150955 (Underscore-prefixed bindings are explicitly allowed to be unused) - rust-lang/rust#151200 (time: Add saturating arithmetic for `SystemTime`) - rust-lang/rust#151235 (Change field `bit_width: usize` to `bits: u32` in type info) - rust-lang/rust#151242 (Port #[needs_allocator] to attribute parser) - rust-lang/rust#151274 (Include a link to `count_ones` in the docs for `uN::count_zeros` [docs only]) - rust-lang/rust#151279 (remove trailing periods in built-in attribute gate messages) r? @ghost
Rollup of 8 pull requests Successful merges: - rust-lang/rust#148769 (Stabilize `alloc_layout_extra`) - rust-lang/rust#150200 (Add title field to `ice.md` issue template) - rust-lang/rust#150955 (Underscore-prefixed bindings are explicitly allowed to be unused) - rust-lang/rust#151200 (time: Add saturating arithmetic for `SystemTime`) - rust-lang/rust#151235 (Change field `bit_width: usize` to `bits: u32` in type info) - rust-lang/rust#151242 (Port #[needs_allocator] to attribute parser) - rust-lang/rust#151274 (Include a link to `count_ones` in the docs for `uN::count_zeros` [docs only]) - rust-lang/rust#151279 (remove trailing periods in built-in attribute gate messages) r? @ghost
Fix performance issue in liveness checking r? @ghost from rust-lang#150955 (comment)
Rollup merge of #151376 - chenyukang:yukang-fix-perf, r=lqd Fix performance issue in liveness checking r? @ghost from #150955 (comment)
Fixes #149889