-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Rollup of 14 pull requests #143233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 14 pull requests #143233
Conversation
Prepare for rework done in the rest of [PR143118]. [PR143118]: https://www.github.com/rust-lang/rust/pull/143118 Co-authored-by: Kivooeo <Kivooeo123@gmail.com>
- Update ui.md - Update type-alias-impl-trait.md - Update README.md
Avoid introducing a large number of changes when adding optional initialization fields.
plus various minor tweaks
Add an empty `impl ! {}` so `rustdoc` generates auto trait impls and blanket impls on `!`'s documentation page.
`tests/ui`: A New Order [13/N] Some `tests/ui/` housekeeping, to trim down number of tests directly under `tests/ui/`. Part of rust-lang#133895. r? ```@jieyouxu```
…-pow, r=RalfJung Miri: handling of SNaN inputs in `f*::pow` operations fixes [miri/rust-lang#4286](rust-lang/miri#4286) and related to rust-lang#138062 and [miri/rust-lang#4208](rust-lang/miri#4208 (comment)). For the following cases of the powf or powi operations, Miri returns either `1.0` or an arbitrary `NaN`: - `powf(SNaN, 0.0)` - `powf(1.0, SNaN)` - `powi(SNaN, 0)` Also added a macro in `miri/tests/pass/float.rs` which conveniently checks if both are indeed returned from such an operation. Made these changes in the rust repo so I could test against stdlib, since these were impacted some time ago and were fixed in rust-lang#138062. Tested with: ```fish env MIRIFLAGS=-Zmiri-many-seeds ./x miri --no-fail-fast std core coretests -- f32 f64 ``` This was successful. This does take a while, so I recommend using `--no-doc` and separate use of `f32` or `f64` The pr is somewhat split up into 3 main commits, which implement the cases described above. The first commit also introduces the macro, and the last commit is just a global refactor of some things. r? `@RalfJung`
…r=lcnr Use let chains in the new solver Self-explanatory Let chains are stable as of today r? lcnr
Workaround for memory unsafety in third party DLLs Resolves rust-lang#143078 Note that we can't make any guarantees if third parties intercept OS functions and don't implement them according to the documentation. However, I think it's practical to attempt mitigations when issues are encountered in the wild and the mitigation itself isn't too invasive.
`tests/ui`: A New Order [15/N] > [!NOTE] > > Intermediate commits are intended to help review, but will be squashed prior to merge. Some `tests/ui/` housekeeping, to trim down number of tests directly under `tests/ui/`. Part of rust-lang#133895. r? `@jieyouxu`
…r=oli-obk Do not freshen `ReError` Because `ReError` has `ErrorGuaranteed` in it, it affects candidate selection and thus causes incompleteness which leads to weirdness in eval. See the comment in the test. Also remove an unnecessary `lookup_op_method` since it doesn't effect tests. Fixes rust-lang#132882. r? types
`tests/ui`: A New Order [16/N] > [!NOTE] > > Intermediate commits are intended to help review, but will be squashed prior to merge. Some `tests/ui/` housekeeping, to trim down number of tests directly under `tests/ui/`. Part of rust-lang#133895. r? `@tgross35` (just small one to test new method, also I should squash all this commits except move commit, so we after review will end up having like one move commit and one commit with changes, right?)
fix typos and improve clarity in documentation ``` Description: This pull request corrects minor typos and improves wording for clarity across several documentation files, including: - Correcting instrinsics → intrinsics - Correcting preferrably → preferably - Correcting Orginally → Originally - Correcting resiliant → resilient ```
Add my work email to mailmap
@bors r+ rollup=never p=5 |
☀️ Test successful - checks-actions |
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 ad3b725 (parent) -> c65dcca (this PR) Test differencesShow 317 test diffsStage 1
Stage 2
(and 19 additional test diffs) Additionally, 198 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 c65dccabacdfd6c8a7f7439eba13422fdd89b91e --output-dir test-dashboard And then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
📌 Perf builds for each rolled up PR:
previous master: ad3b725761 In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (c65dcca): comparison URL. Overall result: ❌ regressions - 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.3%, secondary -2.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 694.099s -> 694.972s (0.13%) |
Successful merges:
tests/ui
: A New Order [13/N] #142429 (tests/ui
: A New Order [13/N])f*::pow
operations #142514 (Miri: handling of SNaN inputs inf*::pow
operations)tests/ui
: A New Order [15/N] #143118 (tests/ui
: A New Order [15/N])ReError
#143159 (Do not freshenReError
)tests/ui
: A New Order [16/N] #143168 (tests/ui
: A New Order [16/N])new
method forBasicBlockData
andStatement
#143190 (Use thenew
method forBasicBlockData
andStatement
)tests/ui
: A New Order [17/N] #143195 (tests/ui
: A New Order [17/N])tests/run-make/short-ice
on Windows MSVC again #143199 (Re-disabletests/run-make/short-ice
on Windows MSVC again)!
#143219 (Show auto trait and blanket impls for!
)r? @ghost
@rustbot modify labels: rollup
Create a similar rollup