Skip to content

Conversation

@GuillaumeGomez
Copy link
Member

@GuillaumeGomez GuillaumeGomez commented Oct 30, 2025

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

GuillaumeGomez and others added 15 commits October 29, 2025 14:11
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
…Nadrieril,traviscross Implement pin-project in pattern matching for `&pin mut|const T` This PR implements part of rust-lang#130494. It supports pin-project in pattern matching for `&pin mut|const T`. ~Pin-projection by field access (i.e. `&pin mut|const place.field`) is not fully supported yet since pinned-borrow is not ready (rust-lang#135731).~ CC `@traviscross`
…nds, r=kobzol Add new `--bypass-ignore-backends` option Fixes rust-lang#147063. It adds a new option to `bootstrap` to allow to ignore `//@ ignore-backends` statements in tests. cc `@jieyouxu` `@antoyo` r? `@Kobzol`
…e, r=nnethercote Fix types being marked as dead when they are inferred generic arguments Previously usages of a type in a pattern were ignored. This is incorrect, since if the type is in a pattern we're clearly producing it in the expression we're matching against. I think this `in_pat` check was meant to be only for variants, which we should indeed ignore since we can just remove the match arm that matches the pattern. Please double check my logic here since this is my first time touching the dead-code pass and I'm not 100% sure this is what the `self.in_pat` check was for. Fixes rust-lang#148144
…=GuillaumeGomez rustdoc: fix `--emit=dep-info` on scraped examples Makes sure both stages (the scraping process itself, and the doc build) emit complete dependency lists. CC rust-lang#146220 Part of rust-lang#83784
@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-compiletest Area: The compiletest test runner A-run-make Area: port run-make Makefiles to rmake.rs A-rustc-dev-guide Area: rustc-dev-guide A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustfmt Relevant to the rustfmt team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Oct 30, 2025
@GuillaumeGomez
Copy link
Member Author

@bors r+ p=4 rollup=never

@bors
Copy link
Collaborator

bors commented Oct 30, 2025

📌 Commit 6e52fb1 has been approved by GuillaumeGomez

It is now in the queue for this repository.

@bors bors removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 30, 2025
@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Oct 30, 2025
bors added a commit that referenced this pull request Oct 30, 2025
Rollup of 4 pull requests Successful merges: - #139751 (Implement pin-project in pattern matching for `&pin mut|const T`) - #147633 (Add new `--bypass-ignore-backends` option) - #148262 (Fix types being marked as dead when they are inferred generic arguments) - #148268 (rustdoc: fix `--emit=dep-info` on scraped examples) r? `@ghost` `@rustbot` modify labels: rollup
@bors
Copy link
Collaborator

bors commented Oct 30, 2025

⌛ Testing commit 6e52fb1 with merge dfb5b2f...

@rust-log-analyzer
Copy link
Collaborator

The job test-various failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
test [ui] tests/ui/zero-sized/zero-sized-btreemap-insert.rs ... ok failures: ---- [ui] tests/ui/pin-ergonomics/pin_v2-attr.rs stdout ---- Saved the actual stderr to `/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/pin-ergonomics/pin_v2-attr/pin_v2-attr.stderr` diff of stderr: 314 | 315 = help: `#[pin_v2]` can be applied to data types and unions 316 - error: aborting due to 40 previous errors 318 The actual stderr differed from the expected stderr To update references, rerun the tests and pass the `--bless` flag To only update this specific test, also pass `--test-args pin-ergonomics/pin_v2-attr.rs` error: 1 errors occurred comparing output. status: exit status: 1 command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=wasm32-wasip1" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/pin-ergonomics/pin_v2-attr" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/wasm32-wasip1/native/rust-test-helpers" stdout: none --- stderr ------------------------------- error: `#[pin_v2]` attribute cannot be used on macro calls ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:135:1 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on macro calls | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: this attribute is not supported on assembly ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:140:5 | LL | #[pin_v2] //~ ERROR this attribute is not supported on assembly | ^^^^^^^^^ error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:84:12 | LL | fn f<T, U>(#[pin_v2] param: Foo<T, U>) | ^^^^^^^^^ error: `#[pin_v2]` attribute cannot be used on crates ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:10:1 | LL | #![pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on crates | ^^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on function params ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:27:10 | LL | enum Foo<#[pin_v2] T, #[pin_v2] U = ()> { | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on function params ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:27:23 | LL | enum Foo<#[pin_v2] T, #[pin_v2] U = ()> { | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on enum variants ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:30:5 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on enum variants | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on struct fields ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:32:18 | LL | TupleVariant(#[pin_v2] T), //~ ERROR `#[pin_v2]` attribute cannot be used on struct fields | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on struct fields ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:34:9 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on struct fields | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on traits ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:39:1 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on traits | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on associated consts ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:41:5 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on associated consts | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on associated types ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:43:5 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on associated types | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on required trait methods ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:46:5 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on required trait methods | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on provided trait methods ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:48:5 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on provided trait methods | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on trait aliases ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:52:1 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on trait aliases | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on inherent impl blocks ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:55:1 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on inherent impl blocks | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on delegations ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:58:5 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on delegations | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on inherent methods ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:61:5 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on inherent methods | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on trait impl blocks ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:65:1 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on trait impl blocks | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on trait methods in impl blocks ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:67:5 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on trait methods in impl blocks | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on extern crates ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:71:1 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on extern crates | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on use statements ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:74:1 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on use statements | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on statics ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:77:1 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on statics | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on constants ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:80:1 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on constants | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on functions ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:83:1 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on functions | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on function params ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:84:12 | LL | fn f<T, U>(#[pin_v2] param: Foo<T, U>) | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on closures ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:92:5 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on closures | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on expressions ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:94:5 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on expressions | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on struct fields ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:98:9 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on struct fields | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on statements ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:96:5 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on statements | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on match arms ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:102:9 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on match arms | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on pattern fields ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:106:13 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on pattern fields | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on where predicates ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:88:5 | LL | #[pin_v2] | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on modules ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:112:1 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on modules | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on foreign modules ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:115:1 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on foreign modules | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on foreign types ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:117:5 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on foreign types | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on foreign statics ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:120:5 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on foreign statics | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on foreign functions ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:123:5 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on foreign functions | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on type aliases ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:127:1 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on type alias | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error: `#[pin_v2]` attribute cannot be used on macro defs ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:130:1 | LL | #[pin_v2] //~ ERROR `#[pin_v2]` attribute cannot be used on macro defs | ^^^^^^^^^ | = help: `#[pin_v2]` can be applied to data types and unions error[E0658]: inline assembly is not stable yet on this architecture ##[error] --> /checkout/tests/ui/pin-ergonomics/pin_v2-attr.rs:138:1 | LL | / std::arch::global_asm! { LL | | "{}", LL | | #[pin_v2] //~ ERROR this attribute is not supported on assembly LL | | const 0 LL | | } | |_^ | = note: see issue #93335 <https://github.com/rust-lang/rust/issues/93335> for more information = help: add `#![feature(asm_experimental_arch)]` to the crate attributes to enable = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date error: aborting due to 41 previous errors For more information about this error, try `rustc --explain E0658`. ------------------------------------------ ---- [ui] tests/ui/pin-ergonomics/pin_v2-attr.rs stdout end ---- failures: [ui] tests/ui/pin-ergonomics/pin_v2-attr.rs test result: FAILED. 19095 passed; 1 failed; 907 ignored; 0 measured; 0 filtered out; finished in 458.56s 
@bors
Copy link
Collaborator

bors commented Oct 30, 2025

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Oct 30, 2025
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 30, 2025
@GuillaumeGomez GuillaumeGomez deleted the rollup-awo7498 branch October 30, 2025 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) A-compiletest Area: The compiletest test runner A-run-make Area: port run-make Makefiles to rmake.rs A-rustc-dev-guide Area: rustc-dev-guide A-testsuite Area: The testsuite used to check the correctness of rustc rollup A PR which is a rollup T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustfmt Relevant to the rustfmt team, which will review and decide on the PR/issue.

7 participants