Rollup of 6 pull requests#156506
Conversation
move more compiler crates away from `box_patterns` Part of rust-lang#156110.
Move `std::io::Cursor` to `core::io` ACP: rust-lang/libs-team#755 Tracking issue: rust-lang#154046 Subset of: rust-lang#154684 ## Description Moves `std::io::Cursor` to `core::io`, leaving the IO trait implementations behind. They will be moved along with the traits themselves. Certain documentation links had to be amended, and a private/unstable `into_parts_mut` method was added to allow the internals to remain private. --- ## Notes * This can be reviewed independently of the other PRs tracked in rust-lang#154046. * No AI tooling of any kind was used during the creation of this PR.
Move `std::io::util` to `core::io` ACP: rust-lang/libs-team#755 Tracking issue: rust-lang#154046 Subset of: rust-lang#154684 ## Description Moves utility types and functions from `std::io::util` and `std::io` to `core::io`, leaving any IO trait implementations behind. They will be moved along with the traits themselves. Certain documentation links had to be amended. - `Chain` - `Empty` - `Repeat` - `Sink` - `Take` - `empty` - `repeat` - `sink` --- ## Notes * This can be reviewed independently of the other PRs tracked in rust-lang#154046. * `Chain` and `Take` were previously in the main `mod.rs` file for `std::io`, but I've chosen to move them into the `util.rs` file in `core::io` instead. I think they make more sense in that file, but I'm happy to move them into `mod.rs` if that's a controversial decision. * No AI tooling of any kind was used during the creation of this PR.
…=jieyouxu Move tests cast Hi, I have moved some type casting tests into the correct directory. Please find time to review
resolve: Fix a false positive "cannot reexport" error for ambiguous glob sets Fixes rust-lang#156264.
Give an example of a Ctor in the doc-comments
|
@bors r+ rollup=never p=1000 |
…uwer Rollup of 6 pull requests Successful merges: - #156287 (move more compiler crates away from `box_patterns` ) - #156428 (Move `std::io::Cursor` to `core::io`) - #156431 (Move `std::io::util` to `core::io`) - #156145 (Move tests cast) - #156284 (resolve: Fix a false positive "cannot reexport" error for ambiguous glob sets) - #156502 (Give an example of a Ctor in the doc-comments)
This comment has been minimized.
This comment has been minimized.
|
The job Click to see the possible cause of the failure (guessed by this bot) |
|
💔 Test for 561d401 failed: CI. Failed job:
|
|
@bors retry |
This comment has been minimized.
This comment has been minimized.
|
@bors treeopen |
|
Tree is now open for merging. |
|
📌 Perf builds for each rolled up PR:
previous master: 2aabf3ce05 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 2aabf3c (parent) -> 8b03437 (this PR) Test differencesShow 315 test diffsStage 1
Stage 2
Additionally, 281 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 8b03437a8ffc8f8b01e62ef5fce82a37ada09b12 --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 (8b03437): comparison URL. Overall result: ❌✅ regressions and improvements - please read:Our benchmarks found a performance regression caused by this PR. Next Steps:
@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 -1.9%, secondary 0.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 0.0%, secondary 2.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 4.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 510.527s -> 509.291s (-0.24%) |
Successful merges:
box_patterns#156287 (move more compiler crates away frombox_patterns)std::io::Cursortocore::io#156428 (Movestd::io::Cursortocore::io)std::io::utiltocore::io#156431 (Movestd::io::utiltocore::io)r? @ghost
Create a similar rollup