Rollup merge of #150155 - Aditya-PS-05:fix/ice-150103-root-in-suggestions, r=estebank

fix ICE when {{root}} appears in import suggestions

Fixes rust-lang/rust#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``
This commit is contained in:
Jonathan Brouwer 2025-12-22 17:33:37 +01:00 committed by GitHub
commit f46d635fb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

Diff Content Not Available