rust/tests/ui/underscore-imports
Esteban Küber d82fb1e72d Emit a single error when importing a path with _
When encountering `use _;`, `use _::*'` or similar, do not emit two errors for that single mistake. This also side-steps the issue of resolve errors suggesting adding a crate named `_` to `Cargo.toml`.
2025-06-24 16:21:26 +00:00
..
auxiliary Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
basic.rs Use non-2015 edition paths in tests that do not test for their resolution 2025-06-05 09:19:31 +02:00
basic.stderr Use non-2015 edition paths in tests that do not test for their resolution 2025-06-05 09:19:31 +02:00
cycle.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
duplicate.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
hygiene-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
hygiene.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
intercrate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-110164.ed2015.stderr Emit a single error when importing a path with _ 2025-06-24 16:21:26 +00:00
issue-110164.ed2021.stderr Emit a single error when importing a path with _ 2025-06-24 16:21:26 +00:00
issue-110164.rs Emit a single error when importing a path with _ 2025-06-24 16:21:26 +00:00
macro-expanded.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
multiple-uses.ed2015.stderr Emit a single error when importing a path with _ 2025-06-24 16:21:26 +00:00
multiple-uses.ed2021.stderr Emit a single error when importing a path with _ 2025-06-24 16:21:26 +00:00
multiple-uses.rs Emit a single error when importing a path with _ 2025-06-24 16:21:26 +00:00
shadow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
shadow.stderr Tweak wording of "implemented trait isn't imported" suggestion 2024-02-22 18:05:27 +00:00
unused-2018.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused-2018.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00