diff options
| author | surechen <chenshuo17@huawei.com> | 2023-11-10 10:11:24 +0800 |
|---|---|---|
| committer | surechen <chenshuo17@huawei.com> | 2024-02-18 16:38:11 +0800 |
| commit | 5db049406a8315ca1a1db1b60d738082458d95d4 (patch) | |
| tree | 53e273d3ebfa11de1e31d9ff2bbc0fa18eaec911 /tests/codegen/patchable-function-entry/patchable-function-entry-both-flags.rs | |
| parent | d33d8675d0fff6f9652790baa5346ac478e528ea (diff) | |
| download | rust-5db049406a8315ca1a1db1b60d738082458d95d4.tar.gz rust-5db049406a8315ca1a1db1b60d738082458d95d4.zip | |
By tracking import use types to check whether it is scope uses or the other 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 ```
Diffstat (limited to 'tests/codegen/patchable-function-entry/patchable-function-entry-both-flags.rs')
0 files changed, 0 insertions, 0 deletions
