Skip to content

lower spans of error const args and test binder bounds - #163750

Open
paradoxicalguy wants to merge 1 commit into
rust-lang:mainfrom
paradoxicalguy:ice-span-wo-parent
Open

paradoxicalguy wants to merge 1 commit into
rust-lang:mainfrom
paradoxicalguy:ice-span-wo-parent

Conversation

@paradoxicalguy

@paradoxicalguy paradoxicalguy commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

fixes #163592

lower spans when constructing hir nodes for error const args and test binder bound type constraints, these paths were using raw ast spans instead of routing them through lower_span
(reproduce with rust.debug-assertions = true and -Cincremental; the tests listed in the issue now pass.)

r? @bjorn3
cc @matthiaskrgr

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 4, 2026
@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Oct 4, 2026
@bjorn3

bjorn3 commented Oct 4, 2026

Copy link
Copy Markdown
Member

Not familiar with this code.

r? compiler

@rustbot rustbot assigned oli-obk and unassigned bjorn3 Oct 4, 2026

This branch has not been deployed

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

Labels

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

error: internal compiler error: compiler/rustc_ast_lowering/src/index.rs:103:17: span without a parent

4 participants