Skip to content

[pull] master from rust-lang:master#124

Merged
pull[bot] merged 13 commits into
asukaminato0721:masterfrom
rust-lang:master
Jul 9, 2026
Merged

[pull] master from rust-lang:master#124
pull[bot] merged 13 commits into
asukaminato0721:masterfrom
rust-lang:master

Conversation

@pull

@pull pull Bot commented Jul 9, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

edragain2nd and others added 13 commits July 7, 2026 15:54
Includes various metaModel updates, fixes, and API improvements to make
e.g. LspRequestMethod more ergonomic (and use less allocations).
Previously rust-analyzer assumed that a module always had an item
list, which isn't true for unresolved modules.

Handle this situation gracefully instead of panicking, and add a test.

AI disclosure: Written with help by GPT-5.5.
New Rust, new Clippy!
fix: avoid panic in merge imports on trailing path separator
…-clone-for-update

Remove redundant clone_for_update
Projection assumes the tuple is big enough for the field access, so
return a MIR lowering error earlier if the tuple isn't valid.

AI disclosure: Some Fable 5 and GPT 5.5 usage.
When lowering `let (x, y) = not_a_tuple`, we'd panic if `not_a_tuple`
was an alias.

    can't project out of Alias(AliasTy { kind: Projection { def_id: TypeAliasId("A") }, .. })

This was because we checked the inferred pattern type from the
`let (x, y)`, concluded it was a tuple, and then tried to project
tuple elements from a non-tuple type (an alias in this case).

Instead, use the place type (`not_a_tuple` in this case) to check that
the expression is actually a tuple we can project out of, and emit a
lowering error otherwise.

AI disclosure: Some Fable 5 and GPT 5.5 usage.
fix: Crash when computing diagnostics with MIR and error types
…ed-module

fix: Crash on code actions when an unresolved module is present
Bump gen-lsp-types to v0.10.0
@pull pull Bot locked and limited conversation to collaborators Jul 9, 2026
@pull pull Bot added the ⤵️ pull label Jul 9, 2026
@pull
pull Bot merged commit 888b2b3 into asukaminato0721:master Jul 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants