Skip to content

Conversation

@RalfJung
Copy link
Member

Also add a test for another case of rust-lang/rust#149314.

nxsaken and others added 17 commits November 19, 2025 13:19
Add test for derive helper compat collisions

Resolves rust-lang/reference#2055 (comment)

r? `@petrochenkov`
v0 mangling for std on nightly

Following rust-lang/rust#89917 and rust-lang/compiler-team#938, it doesn't make sense that `std` for these channels would have legacy mangling while the user's code would use `v0`.

r? `@Kobzol`
Add `Box::clone_from_ref` and similar under `feature(clone_from_ref)`

Tracking issue: rust-lang/rust#149075

Accepted ACP: rust-lang/libs-team#483

This PR implements `clone_from_ref` (and `try_*` and `_*in` variants), to get a `Box<T>`, `Arc<T>`, or `Rc<T>` by cloning from a `&T` where `T: CloneToUninit`.

The "Implement..." commits replace some ad-hoc conversions with `clone_from_ref` variants, which can be split out to a separate PR if desired.

This PR will conflict with rust-lang/rust#148769 due to usage of `Layout::dangling` (which that PR is renaming to `dangling_ptr`), so they should not be rolled up together, and the one which merges later will need to be amended.
…manieu

Stabilize `unchecked_neg` and `unchecked_shifts`

Features: `unchecked_neg`, `unchecked_shifts`
Tracking issue: rust-lang/rust#85122

r? `@Amanieu`
rustc_borrowck: Don't suggest changing closure param type not under user control

This changes output of a handful of tests more than the one added in the first commit, but as far as I can tell, all removed suggestions were invalid.

Closes rust-lang/rust#128381 which is **D-invalid-suggestion** with two 👍-votes.
Run `eval_config_entry` on all branches so we always emit lints

Fixes rust-lang/rust#149090

Ideally I'd have liked to fix this issue using rust-lang/rust#149215, and this is still the long term plan, but this is slightly more annoying to implement than I'd have liked to, and this is also a nice and easy solution to the problem.

r? `@tgross35`
…ns-liveness, r=Kivooeo

add regression test for guard patterns liveness ICE

closes rust-lang/rust#146445
Rollup of 5 pull requests

Successful merges:

 - rust-lang/rust#149087 (Stabilize `unchecked_neg` and `unchecked_shifts`)
 - rust-lang/rust#149107 (rustc_borrowck: Don't suggest changing closure param type not under user control)
 - rust-lang/rust#149323 (Use cg_llvm's target_config in miri)
 - rust-lang/rust#149380 (Run `eval_config_entry` on all branches so we always emit lints)
 - rust-lang/rust#149394 (add regression test for guard patterns liveness ICE)

r? `@ghost`
`@rustbot` modify labels: rollup
This updates the rust-version file to 88bd39beb342e2ae7ded1eb7d58697416686d679.
Pull recent changes from https://github.com/rust-lang/rust via Josh.

Upstream ref: 88bd39beb342e2ae7ded1eb7d58697416686d679
Filtered ref: 7c1fca9
Upstream diff: rust-lang/rust@c871d09...88bd39b

This merge was created using https://github.com/rust-lang/josh-sync.
@rustbot
Copy link
Collaborator

rustbot commented Nov 28, 2025

Thank you for contributing to Miri! A reviewer will take a look at your PR, typically within a week or two.
Please remember to not force-push to the PR branch except when you need to rebase due to a conflict or when the reviewer asks you for it.

@rustbot rustbot added the S-waiting-on-review Status: Waiting for a review to complete label Nov 28, 2025
@RalfJung RalfJung enabled auto-merge November 28, 2025 09:38
@RalfJung RalfJung added this pull request to the merge queue Nov 28, 2025
Merged via the queue into rust-lang:master with commit ea0d700 Nov 28, 2025
14 checks passed
@RalfJung RalfJung deleted the rustup branch November 28, 2025 10:34
@rustbot rustbot removed the S-waiting-on-review Status: Waiting for a review to complete label Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants