Rollup of 7 pull requests#157845
Closed
jhpratt wants to merge 15 commits into
Closed
Conversation
Same as 147495, just keeping it up-to-date.
remove AliasTerm::def_id() this is part of rust-lang#156181 as well as part of rust-lang#152245 fyi @lcnr r? @BoxyUwU
…oxyUwU
Remove AnonConstKind::GCA and reject generic anon consts
Previously, a `GCA` type const (`type const FOO<const N: usize>: usize = const { N + 1 };`) was a type-system-transparent type const whose body immediately thunked out to an opaque regular const (albeit an anon const). The fact that there was a transparent wrapper wasn't providing anything of value, now that the user can write and rust-lang#155341.
With this PR, `GCA` variant is removed from `AnonConstKind` so that generic anon consts are rejected.
Related: rust-lang/project-const-generics#113
…span, r=lolbinarycat rustdoc: correct doctest span for trailing semicolon after item Fixes rust-lang#157371. When a doctest contains a trailing semicolon after an item, rustdoc can map the resulting warning to unrelated source following the documentation block rather than to the semicolon inside the doctest. Changes only diagnostic span reporting.
…, r=BoxyUwU,samueltardieu Added `PhantomPinned` diagnostic item and prevented dead field warning on `PhantomPinned` This PR closes rust-lang#154888. See rust-lang#154978 and in [clippy#17056](rust-lang/rust-clippy#17056) for prior history on working on this issue. From discussing with clippy team, we thought it'd be appropriate to use a diagnostic item attribute to mark `PhantomPinned` and prevent dead field warnings from being emitted in `missing_fields_in_debug.rs` and `pub_underscore_fields.rs`. If you want me to do the clippy changes separately within the clippy repository, I can do that.
…mejrs,wesleywiser Ensure that optimize attributes on closures are inherited by the shim. Tracking issue: rust-lang#54882 Stabilization PR: rust-lang#157273
rustc_public: implement `ty::Alias` conversion I don't know why there is a `todo!()` here. Am I overlooking anything?
…-ld, r=Mark-Simulacrum Update wasm-component-ld to 0.5.25 Same as rust-lang#147495, just keeping it up-to-date.
Member
Author
|
@bors r+ rollup=never p=5 |
Contributor
Contributor
|
⌛ Testing commit 0fe717c with merge 91c2a8a... Workflow: https://github.com/rust-lang/rust/actions/runs/27455013185 |
Member
Author
|
2½ hours without output from dist-x86_64-linux, so this is presumably stalled. Deferring to a |
Contributor
|
This pull request was unapproved due to being closed. Auto build was cancelled due to the PR being closed. Cancelled workflows: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Successful merges:
PhantomPinneddiagnostic item and prevented dead field warning onPhantomPinned#157782 (AddedPhantomPinneddiagnostic item and prevented dead field warning onPhantomPinned)ty::Aliasconversion #157812 (rustc_public: implementty::Aliasconversion)r? @ghost
Create a similar rollup