about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorJason Newcomb <jsnewcomb@pm.me>2021-11-11 14:15:01 -0500
committerJason Newcomb <jsnewcomb@pm.me>2022-10-02 15:02:55 -0400
commit162aa19793f21c99cf7ec2a8c080ee2f8843f7db (patch)
tree996b5d40be199472d950c4fc9431bcedcba2bffd /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parent8e7af6b42961d6a4b6857c06aa5139a985e0009d (diff)
downloadrust-162aa19793f21c99cf7ec2a8c080ee2f8843f7db.tar.gz
rust-162aa19793f21c99cf7ec2a8c080ee2f8843f7db.zip
Fix and improve internal lint checking for `match_type` usages
* Check for `const`s and `static`s from external crates
* Check for `LangItem`s
* Handle inherent functions which have the same name as a field
* Also check the following functions:
    * `match_trait_method`
    * `match_def_path`
    * `is_expr_path_def_path`
    * `is_qpath_def_path`
* Handle checking for a constructor to a diagnostic item or `LangItem`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions