Skip to content

Conversation

@Aditya-PS-05
Copy link
Contributor

@Aditya-PS-05 Aditya-PS-05 commented Dec 19, 2025

Fixes #150103

When wrong nested imports like use A::{::Fish} were used, the internal {{root}} would appear in diagnostic suggestions, causing an ICE in join_path_idents which asserted that {{root}} should only appear at the start of a path.

r? @matthiaskrgr

@rustbot rustbot added 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. labels Dec 19, 2025
@rust-log-analyzer

This comment has been minimized.

@Aditya-PS-05 Aditya-PS-05 force-pushed the fix/ice-150103-root-in-suggestions branch from aee12c6 to 678f581 Compare December 19, 2025 13:59
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.

ICE: ast: {{root}} != {{root}}

4 participants