core: Destabilize beta-stable RangeInclusiveIter::remainder#154459
core: Destabilize beta-stable RangeInclusiveIter::remainder#154459rust-bors[bot] merged 2 commits intorust-lang:mainfrom
RangeInclusiveIter::remainder#154459Conversation
|
r? @joboet rustbot has assigned @joboet. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
@rustbot label +beta-nominated Only the first commit needs to be backported, though there isn't really any harm in taking the second too. |
This comment has been minimized.
This comment has been minimized.
|
I'm a bit stuck blessing this until #154408 is resolved. If anyone has a successful build, please feel free to push to my branch or take this over. |
|
@tgross35 I'll revert the PR that caused it till someone with a Mac has more time to debug and land a proper fix. But in the meantime, isn't #154408 (comment) a fix for you? |
|
I did see that a bit later, I'll try it when I get the change. Thanks for pointing it out |
|
Sounds good. Otherwise, here is the revert PR, in case you want to keep track: #154485 |
|
That mentioned revert PR landed, so hopefully we're good now. I'll take #t-libs-api/api-changes > `RangeFrom::remainder` possible panic @ 💬 as libs-api assent to do this, and personally agree with "let's just unstabilize to give time to think about things". (Since it's not stable yet it's not a breaking change to unstabilize either.) @bors r+ |
|
Oh, and because we want to get this into beta, |
|
I think I still need to bless, just couldn’t do it locally. I’ll be able to double check in half an hour @bors r- |
bf3d60d to
0537c58
Compare
This comment has been minimized.
This comment has been minimized.
|
Just needed to update some feature gates in tests and add an extra error annotation. @bors r=scottmcm |
|
@bors rollup |
This comment has been minimized.
This comment has been minimized.
0537c58 to
0353e88
Compare
…mainder, r=scottmcm
core: Destabilize beta-stable `RangeInclusiveIter::remainder`
Destabilize `RangeInclusiveIter::remainder` and move `{RangeIter,RangefromIter}::remainder` to the `new_range_api` feature gate.
Original tracking issue: rust-lang#125687
New tracking issue: rust-lang#154458
Discussion: https://rust-lang.zulipchat.com/#narrow/channel/327149-t-libs-api.2Fapi-changes/topic/.60RangeFrom.3A.3Aremainder.60.20possible.20panic/with/582108913
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…scottmcm
core: Destabilize beta-stable `RangeInclusiveIter::remainder`
Destabilize `RangeInclusiveIter::remainder` and move `{RangeIter,RangefromIter}::remainder` to the `new_range_api` feature gate.
Original tracking issue: #125687
New tracking issue: #154458
Discussion: https://rust-lang.zulipchat.com/#narrow/channel/327149-t-libs-api.2Fapi-changes/topic/.60RangeFrom.3A.3Aremainder.60.20possible.20panic/with/582108913
…mainder, r=scottmcm
core: Destabilize beta-stable `RangeInclusiveIter::remainder`
Destabilize `RangeInclusiveIter::remainder` and move `{RangeIter,RangefromIter}::remainder` to the `new_range_api` feature gate.
Original tracking issue: rust-lang#125687
New tracking issue: rust-lang#154458
Discussion: https://rust-lang.zulipchat.com/#narrow/channel/327149-t-libs-api.2Fapi-changes/topic/.60RangeFrom.3A.3Aremainder.60.20possible.20panic/with/582108913
As discussed, make this portion of the range API unstable again. This will now be tracked under `new_range_remainder`. Discussion: https://rust-lang.zulipchat.com/#narrow/channel/327149-t-libs-api.2Fapi-changes/topic/.60RangeFrom.3A.3Aremainder.60.20possible.20panic/with/582108913
|
@bors r- |
|
This pull request was unapproved. Auto build was cancelled due to unapproval. Cancelled workflows: |
…inder` Split the remainder functions from the rest of `std::range`.
0353e88 to
0bb3fe3
Compare
|
I missed adding the feature gate to the new doctests when I rebased. @bors r=scottmcm |
…mainder, r=scottmcm
core: Destabilize beta-stable `RangeInclusiveIter::remainder`
Destabilize `RangeInclusiveIter::remainder` and move `{RangeIter,RangefromIter}::remainder` to the `new_range_api` feature gate.
Original tracking issue: rust-lang#125687
New tracking issue: rust-lang#154458
Discussion: https://rust-lang.zulipchat.com/#narrow/channel/327149-t-libs-api.2Fapi-changes/topic/.60RangeFrom.3A.3Aremainder.60.20possible.20panic/with/582108913
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 584d32e (parent) -> cd14b73 (this PR) Test differencesShow 16 test diffs16 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard cd14b73b4a41542d921f59e362a5b5005fa4f2ef --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 (cd14b73): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results (primary 2.1%, secondary 3.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 3.2%)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: 484.385s -> 487.525s (0.65%) |
View all comments
Destabilize
RangeInclusiveIter::remainderand move{RangeIter,RangefromIter}::remainderto thenew_range_apifeature gate.Original tracking issue: #125687
New tracking issue: #154458
Discussion: https://rust-lang.zulipchat.com/#narrow/channel/327149-t-libs-api.2Fapi-changes/topic/.60RangeFrom.3A.3Aremainder.60.20possible.20panic/with/582108913