Revert tearing changes to dbg!#156589
Conversation
These are all tests from trying to fix the tear-free `dbg!`: * rust-lang#154074 * rust-lang#154994 * rust-lang#155915 These should also work as we revert to the old `dbg!`, so we should keep the tests to make sure they don't regress again. Co-authored-by: dianne <diannes.gm@gmail.com>
|
The Clippy subtree was changed cc @rust-lang/clippy The Miri subtree was changed cc @rust-lang/miri |
|
r? @mu001999 rustbot has assigned @mu001999. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
|
|
r? libs |
|
The principle of the thing was already approved by the team, the reverts look clean, 👍️ for retaining the tests. @bors r+ |
This comment has been minimized.
This comment has been minimized.
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing e50aa6f (parent) -> 4b97926 (this PR) Test differencesShow 32 test diffsStage 1
Stage 2
Additionally, 30 doctest diffs were found. These are ignored, as they are noisy. Job group index
Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 4b9792692fbb675174d4d2082e7c37b2bc930e71 --output-dir test-dashboardAnd then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
|
Finished benchmarking commit (4b97926): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis perf run didn't have relevant results for this metric. Max RSS (memory usage)Results (primary 2.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 1.9%, secondary 4.8%)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: 512.018s -> 510.83s (-0.23%) |
|
beta backport approved as per libs team on Zulip. A backport PR will be authored by the release team at the end of the current development cycle. Backport labels are handled by them. |
Since the primary change to
dbg!in #149869, we've been chasing a few regressions:dbg!#154074luadoes not live long enough" #154988, fixed by don't leak internal temporaries fromdbg!#154994dbg!, even on false unwind paths #155915We already reverted this once, on beta only to prevent these regressions from shipping in 1.95.
In that most recent PR, we decided that it would be better to revert
dbg!to its original state everywhere (mainand 1.96-beta), and then we can consider it from scratch later. So here I've reverted the change and its fixes, but kept the regression tests, including the pending one.cc @joboet @dianne @rust-lang/libs
@rustbot label beta-nominated