about summary refs log tree commit diff
path: root/tests/ui/lint/use-redundant
AgeCommit message (Collapse)AuthorLines
2025-08-26fix: Add col separator before secondary messages with no sourceScott Schafer-0/+7
2025-08-26fix: Don't add an end column separator after a file with no sourceScott Schafer-3/+0
2025-06-03Add missing 2015 edition directivesLukas Wirth-5/+6
These tests specifically test 2015 edition behavior, so ensure that they can only be run with this edition
2024-07-31Introduce REDUNDANT_IMPORTS lintMichael Goulet-25/+153
2024-04-11Silence unused_imports lint for redundant importsMichael Goulet-140/+18
2024-03-05add test for #71450surechen-0/+110
2024-03-04add test for #78894surechen-0/+14
2024-02-18By tracking import use types to check whether it is scope uses or the other ↵surechen-0/+100
situations like module-relative uses, we can do more accurate redundant import checking. fixes #117448 For example unnecessary imports in std::prelude that can be eliminated: ```rust use std::option::Option::Some;//~ WARNING the item `Some` is imported redundantly use std::option::Option::None; //~ WARNING the item `None` is imported redundantly ```
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-6/+6
2023-04-01diagnostics: account for glob shadowing when linting redundant importsMichael Howell-0/+121
Co-Authored-By: Vadim Petrochenkov <vadim.petrochenkov@gmail.com>
2023-03-25tests: make directory for use redundant lintMichael Howell-0/+56