Skip unused variables warning for unreachable code#149096
Skip unused variables warning for unreachable code#149096bors merged 1 commit intorust-lang:mainfrom
Conversation
|
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
1f2c448 to
2c6b1d3
Compare
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
…try> Skip unused variables warning for unreachable code
This comment has been minimized.
This comment has been minimized.
|
💥 Test timed out after |
|
try again |
This comment has been minimized.
This comment has been minimized.
…try> Skip unused variables warning for unreachable code
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (3374816): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking 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. @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 0.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -2.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary -0.1%, secondary -0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 473.456s -> 471.878s (-0.33%) |
…li-obk Skip unused variables warning for unreachable code Fixes #148373 These warnings are not reported on stable branch, but are now reported on the beta. I tried another solution to record whether a `local` is reachable in `find_dead_assignments`, but the code in this PR seems simpler. r? `@cjgillot`
|
The job Click to see the possible cause of the failure (guessed by this bot) |
|
💔 Test failed - checks-actions |
|
not sure whether it is related to the change, @bors retry jobs=x86_64-mingw-1 |
|
@bors try jobs=x86_64-mingw-1 |
This comment has been minimized.
This comment has been minimized.
…try> Skip unused variables warning for unreachable code try-job: x86_64-mingw-1
|
💔 Test for d762293 failed: CI. Failed jobs:
|
|
☀️ Test successful - checks-actions |
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 94b49fd (parent) -> e0e204f (this PR) Test differencesShow 6 test diffsStage 1
Stage 2
Additionally, 4 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 e0e204f3e97ad5f79524b9c259dc38df606ed82c --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 (e0e204f): comparison URL. Overall result: ❌✅ regressions and improvements - no action needed@rustbot label: -perf-regression 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 0.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 1.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 470.267s -> 468.131s (-0.45%) |
[beta] backports - rustdoc: Use configured target modifiers when collecting doctests #148068 - fix(rustdoc): Color doctest errors #148834 - Fix the issue of unused assignment from MIR liveness checking #149072 - Skip unused variables warning for unreachable code #149096 - In `BTreeMap::eq`, do not compare the elements if the sizes are different. #149125 - Handle cycles when checking impl candidates for `doc(hidden)` #149185 - Generalize branch references #148395 - only the commit updating CI scripts - Change default branch references #148564 r? cuviper
…8373, r=oli-obk Skip unused variables warning for unreachable code Fixes rust-lang#148373 These warnings are not reported on stable branch, but are now reported on the beta. I tried another solution to record whether a `local` is reachable in `find_dead_assignments`, but the code in this PR seems simpler. r? `@cjgillot`
Fixes #148373
These warnings are not reported on stable branch, but are now reported on the beta.
I tried another solution to record whether a
localis reachable infind_dead_assignments, but the code in this PR seems simpler.r? @cjgillot