about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
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
commita5d442cdf950a2aca7d967eb94443fd6f154381c (patch)
treee2bb0b4cdb7df876d7d0de49a9ac2ed10e8a1f51 /compiler/rustc_codegen_llvm/src
parenta9ad4923cde48ef0c90c5e18646bd745face03ac (diff)
parentf2e82af3f278f8fbd51657a66c5b6d769d6ad9e9 (diff)
downloadrust-a5d442cdf950a2aca7d967eb94443fd6f154381c.tar.gz
rust-a5d442cdf950a2aca7d967eb94443fd6f154381c.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_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions