Change some Infallible to ! in std - #162073
Conversation
|
r? @clarfonthey rustbot has assigned @clarfonthey. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
Thank you! @bors r+ rollup |
This comment has been minimized.
This comment has been minimized.
|
@bors r- (I thought that would be automatic, honestly.) |
|
This pull request was unapproved. |
|
I fixed the rustdoc test and it looks reasonable but I'm not very familiar with that. |
Got me curious so I found rust-lang/bors#317 |
Mentioned it on Zulip to see if anyone has comments: #t-rustdoc > never_search test @ 💬 |
|
@rustbot ready |
|
@bors r+ rollup Thank you! Got confirmation that the |
49736a2 to
dd13221
Compare
|
This pull request was unapproved. |
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
@rustbot ready (sorry, need another Bors-R-Plus) |
|
All good! I wasn't going to unapprove for that change, but fine re-approving for it. @bors r+ |
…nthey Change some `Infallible` to `!` in std I believe this desirable since we recommend `!` over `Infallible`, so std follows its own advice. Most changes are to unstable features, but not all. Similar changes in compiler have to wait for a bootstrap update.
Sorry! |
|
No worries |
|
It's all good! It worked out in the end. |
…uwer Rollup of 11 pull requests Successful merges: - #151618 (rustdoc: add `--print` option) - #161287 (Update `icu_list` dependency to 2.3) - #161767 (change DEFAULT_STACK_SIZE to be 32MB on s390x) - #161968 (Diverse offload fixes) - #161971 (Remove -Zsaturating-float-casts flag) - #162071 (Fix ICE of getting item name from RPITIT) - #161209 (Rework `next_power_of_two` to always be `1 << …`) - #162073 (Change some `Infallible` to `!` in std) - #162086 (Remove `gate_check` from `AttributeStability::Unstable`) - #162102 (`alloc` crate: shrink undocumented `unsafe` blocks) - #162110 (make it clear that Range cannot represent arbitrary ranges)
Rollup merge of #162073 - camsteffen:lib-eat-never, r=clarfonthey Change some `Infallible` to `!` in std I believe this desirable since we recommend `!` over `Infallible`, so std follows its own advice. Most changes are to unstable features, but not all. Similar changes in compiler have to wait for a bootstrap update.
View all comments
I believe this desirable since we recommend
!overInfallible, so std follows its own advice. Most changes are to unstable features, but not all. Similar changes in compiler have to wait for a bootstrap update.