mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
85fb5cdf26
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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |