Rollup of 4 pull requests#153642
Conversation
…ing it. This allows eliminating the `T: [const] Destruct` bounds and avoids generating an implicit `drop_in_place::<Option<T>>()` that will never do anything. Ideally, the compiler would prove that that drop is not necessary itself, but it currently doesn't, even with `const_precise_live_drops` enabled.
In `Option::get_or_insert_with()`, forget the `None` instead of dropping it. Per rust-lang#148486 (comment) In `Option::get_or_insert_with()`, after replacing the `None` with `Some`, forget the `None` instead of dropping it. This allows eliminating the `T: [const] Destruct` bounds, making the functions more flexible in (unstable) const contexts, and avoids generating an implicit `drop_in_place::<Option<T>>()` that will never do anything (and which might even persist after optimization).
…nditional-compilation, r=ehuss tests/ui/cfg: add annotations for reference rules
…athanBrouwer Remove `TyCtxt::node_span_lint` method Part of rust-lang#153099. One less obstacle before we can remove `lint_level` function. :) r? @JonathanBrouwer
…laumeGomez rustdoc-json: Improve docs for `ItemEnum::item_kind` Fixes rust-lang#153279 (comment) r? @GuillaumeGomez CC @LukeMathWalker
|
@bors r+ rollup=never p=5 |
This comment has been minimized.
This comment has been minimized.
Rollup of 4 pull requests Successful merges: - #148562 (In `Option::get_or_insert_with()`, forget the `None` instead of dropping it.) - #153325 (tests/ui/cfg: add annotations for reference rules) - #153621 (Remove `TyCtxt::node_span_lint` method) - #153627 (rustdoc-json: Improve docs for `ItemEnum::item_kind`)
|
💔 Test for 2254b92 failed: CI. Failed job:
|
|
A job failed! Check out the build log: (web) (plain enhanced) (plain) Click to see the possible cause of the failure (guessed by this bot) |
|
Looks like we're seeing a streak of network failures. @bors treeclosed=1000 |
|
Tree closed for PRs with priority less than 1000. |
|
@bors p=1000 |
This comment has been minimized.
This comment has been minimized.
Rollup of 4 pull requests Successful merges: - #148562 (In `Option::get_or_insert_with()`, forget the `None` instead of dropping it.) - #153325 (tests/ui/cfg: add annotations for reference rules) - #153621 (Remove `TyCtxt::node_span_lint` method) - #153627 (rustdoc-json: Improve docs for `ItemEnum::item_kind`)
|
💔 Test for 5c216d1 failed: CI. Failed job:
|
|
@bors retry |
This comment has been minimized.
This comment has been minimized.
|
A job failed! Check out the build log: (web) (plain enhanced) (plain) Click to see the possible cause of the failure (guessed by this bot) |
|
i mean, the network is fine, it's ghcr.io that's down ... |
|
📌 Perf builds for each rolled up PR:
previous master: 3bc6ea5673 In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
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 3bc6ea5 (parent) -> 0c68443 (this PR) Test differencesShow 244 test diffsStage 1
Stage 2
Additionally, 240 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 0c68443b0a0469e4211acca7e7b06e14f256ada8 --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 |
|
@bors treeopen |
|
Tree is now open for merging. |
|
Finished benchmarking commit (0c68443): comparison URL. Overall result: ✅ 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)This benchmark run did not return any relevant results for this metric. CyclesResults (primary 5.0%, secondary -0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 1.4%, secondary -0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 479.559s -> 480.034s (0.10%) |
View all comments
Successful merges:
Option::get_or_insert_with(), forget theNoneinstead of dropping it. #148562 (InOption::get_or_insert_with(), forget theNoneinstead of dropping it.)TyCtxt::node_span_lintmethod #153621 (RemoveTyCtxt::node_span_lintmethod)ItemEnum::item_kind#153627 (rustdoc-json: Improve docs forItemEnum::item_kind)r? @ghost
Create a similar rollup