Skip to content

Conversation

@JonathanBrouwer
Copy link
Contributor

@JonathanBrouwer JonathanBrouwer commented Jan 5, 2026

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

reddevilmidzy and others added 30 commits December 24, 2025 15:31
`lower_anon_const_to_const_arg_direct` to
`lower_anon_const_to_const_arg_and_alloc` and
`lower_anon_const_to_const_arg`
Example
---
```rust
enum Foo {
    Num(i32)
}

impl Foo {
    fn try_into_num(self) -> Result<i32, Self> {
        if let Self::Num(v) = self {
            Ok(v)
        } else {
            Err(self)
        }
    }
}
fn handle(foo: Foo) {
    foo.try_into_num().$0
}
```

**Before this PR**

```rust
fn handle(foo: Foo) {
    if let Ok(${1:try_into_num}) = foo.try_into_num() {
        $0
    }
}
```

**After this PR**

```rust
fn handle(foo: Foo) {
    if let Ok(${1:num}) = foo.try_into_num() {
        $0
    }
}
```
Allow finding references from doc comments
Bumps [qs](https://github.com/ljharb/qs) from 6.14.0 to 6.14.1.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](ljharb/qs@v6.14.0...v6.14.1)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.14.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…-into

Add useless prefix `try_into_` for suggest_name
…yarn/editors/code/qs-6.14.1

Bump qs from 6.14.0 to 6.14.1 in /editors/code
To reduce the amount of re-allocating the hashtables which can be expensive given the need to re-hash
Pre-allocate intern storages with 64kb of data / 1024 elements
Remove unnecessary `ConstLiteralRef` enum
…nlay-hint-location-links

feat: Add location links for generic parameter type hints
internal: Reduce `impl_signature` query dependencies in method resolution
…e-proc-macro-bidirectional-flow

proc-macro-srv: support file and local_file via bidirectional callbacks
Shourya742 and others added 16 commits January 3, 2026 20:10
internal: Clean up proc-macro-srv callback trait
Migrate `move_arm_cond_to_match_guard` assist to use `SyntaxEditor`
…ecialize

fix: Suppress false positive missing assoc item diag on specialization
This way using pidfd_spawnp won't have to rely on procfs, avoiding an unpleasant edge-case
where the child is spawned but we can't get the pid.
And `pidfd.{try_}wait` will be able to return the exit status even after a process has been reaped.
At least on newer kernels.
Refactor function names of `rustc_ast_lowering`

close: rust-lang#150062

I'll rebase after rust-lang#149114 is merged.

Would it be better to change `lower_const_path_to_const_arg` → `lower_const_path_to_const_arg_and_intern`,
`lower_array_length_to_const_arg` → `lower_array_length_to_const_arg_and_intern`?

r? `@lcnr`
use PIDFD_GET_INFO ioctl when available

This way using pidfd_spawnp won't have to rely on procfs, avoiding an unpleasant edge-case where the child is spawned but we can't get the pid. And pidfd.{try_}wait will be able to return the exit status even after a process has been reaped. At least on newer kernels.

Tracking issue: rust-lang#82971
Unix implementation for stdio set/take/replace

Tracking issue: rust-lang#150667
ACP: rust-lang/libs-team#500
`rust-analyzer` subtree update

Subtree update of `rust-analyzer` to rust-lang/rust-analyzer@6a1246b.

Created using https://github.com/rust-lang/josh-sync.

r? `@ghost`
@rustbot rustbot added O-linux Operating system: Linux O-unix Operating system: Unix-like S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rust-analyzer Relevant to the rust-analyzer team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Jan 5, 2026
@JonathanBrouwer
Copy link
Contributor Author

@bors r+ rollup=never p=5

@bors
Copy link
Collaborator

bors commented Jan 5, 2026

📌 Commit 68781d6 has been approved by JonathanBrouwer

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 5, 2026
@rust-log-analyzer
Copy link
Collaborator

The job aarch64-gnu-llvm-20-1 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
[RUSTC-TIMING] tracing_tree test:false 0.433
   Compiling rustc_hir_typeck v0.0.0 (/checkout/compiler/rustc_hir_typeck)
[RUSTC-TIMING] rustc_borrowck test:false 56.794
   Compiling rustc_mir_transform v0.0.0 (/checkout/compiler/rustc_mir_transform)
error[E0599]: no method named `lower_anon_const_to_const_arg_direct` found for mutable reference `&mut LoweringContext<'a, 'hir>` in the current scope
    --> compiler/rustc_ast_lowering/src/lib.rs:2417:30
     |
2417 |                         self.lower_anon_const_to_const_arg_direct(anon_const)
     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-linux Operating system: Linux O-unix Operating system: Unix-like rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rust-analyzer Relevant to the rust-analyzer team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.