diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2021-02-06 17:01:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-06 17:01:45 +0100 |
| commit | 85fb5cdf2633e91c5101dd8fb89a637c6d007802 (patch) | |
| tree | 5b8f7cea569dfac657166b0f7d0e85f3381f37bf /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 747abb86db0ed0eeb97e5373a2111c767eb8c173 (diff) | |
| parent | f66115dc10d53976daba4bad7ec522a151c4c5a4 (diff) | |
| download | rust-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
