about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2021-02-06 17:01:45 +0100
committerGitHub <noreply@github.com>2021-02-06 17:01:45 +0100
commit85fb5cdf2633e91c5101dd8fb89a637c6d007802 (patch)
tree5b8f7cea569dfac657166b0f7d0e85f3381f37bf /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent747abb86db0ed0eeb97e5373a2111c767eb8c173 (diff)
parentf66115dc10d53976daba4bad7ec522a151c4c5a4 (diff)
downloadrust-85fb5cdf2633e91c5101dd8fb89a637c6d007802.tar.gz
rust-85fb5cdf2633e91c5101dd8fb89a637c6d007802.zip
Rollup merge of #81680 - camsteffen:primty, r=oli-obk
Refactor `PrimitiveTypeTable` for Clippy

I removed `PrimitiveTypeTable` and added `PrimTy::ALL` and `PrimTy::from_name` in its place. This allows Clippy to use `PrimTy::from_name` for the `builtin_type_shadow` lint, and a `const` list of primitive types is deleted from Clippy code (the goal). All changes should be a little faster, if anything.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions