Rollup of 2 pull requests#153541
Conversation
…o-hir-arena, r=petrochenkov Replace Box<[TraitCandidate]> with &'hir [TraitCandidate<'hir>] This PR allocates trait candidates on HIR arena and replaces `remove` with `get` in `ResolverAstLowering`. First step for rust-lang#153489. r? @petrochenkov
…, r=aDotInTheVoid Fix incorrect rustdoc JSON representation of `#[doc(test(..))]` attrs. Attributes like `#[doc(test(attr(deny(rust_2018_idioms))))]` are accidentally emitted without the final `]`. Also, the `#[doc(test(no_crate_inject))]` attribute is mistakenly emitted as `#[doc(no_crate_inject)]` — note the missing `test` wrapper. This PR adds the missing `]` and fixes the `no_crate_inject`, and adds regression tests for both. Thanks to the folks working on `tonic` and `pyo3` for reporting a `cargo-semver-checks` crash on Rust 1.94 in their projects, which led me to finding this bug. Refs: - https://github.com/hyperium/tonic/actions/runs/22732044107/job/65957306230?pr=2536 - https://github.com/PyO3/pyo3/actions/runs/22745106403/job/65967167797 - obi1kenobi/cargo-semver-checks#1590 r? @aDotInTheVoid
|
@bors r+ rollup=never p=5 |
This comment has been minimized.
This comment has been minimized.
|
📌 Perf builds for each rolled up PR:
previous master: 085c58f2c0 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 085c58f (parent) -> e3d66fe (this PR) Test differencesShow 18 test diffsStage 1
Stage 2
Additionally, 14 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 e3d66fe39ae70380fa2365c008e2927479114844 --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 (e3d66fe): 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)Results (primary -0.1%, secondary -1.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.1%)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: 478.289s -> 478.012s (-0.06%) |
|
Caused by #153494 (comment) |
Successful merges:
#[doc(test(..))]attrs. #153465 (Fix incorrect rustdoc JSON representation of#[doc(test(..))]attrs.)r? @ghost
Create a similar rollup