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 | d88ad9e6b7b07d177c28bf7c65c3bf44759338b4 (patch) | |
| tree | 86d4000cf36c591aad3b7ba2483a8dc1a936e097 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 1ac4d934a8fb0541fb2ae089e7c8d068fe622f02 (diff) | |
| download | rust-d88ad9e6b7b07d177c28bf7c65c3bf44759338b4.tar.gz rust-d88ad9e6b7b07d177c28bf7c65c3bf44759338b4.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 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
