Files
rust/tests/ui/use
Jonathan Brouwer faec976395 Rollup merge of #162831 - estebank:duplicated-items, r=petrochenkov
Do not continue past `rustc_resolve` when encountering duplicated items

Duplicated items cause *lots* of confusing knock down errors. This change side-steps some known ICEs, and reduces the verbosity of crates with duplicated items at the cost of not emitting every error that we could.

Noticed just how problematic these can be while looking at https://github.com/rust-lang/rust/pull/160695, as `#[derive]`s are particularly prone to the kind of confusion these duplicates cause.

Fix rust-lang/rust#120873, fix rust-lang/rust#123690.

r? @petrochenkov
2026-09-21 10:16:07 +02:00
..
…