rust-lang / rustc-hash

Custom hash algorithm used by rustc (plus hashmap/set aliases): fast, deterministic, not secure
Apache License 2.0
394 stars 46 forks source link

More Clippy lint groups including pedantic #51

Open allan2 opened 2 months ago

allan2 commented 2 months ago

Five lints corrected:

Pedantic, nursery, and cargo group rules are added.

All lints are passing.

allan2 commented 2 months ago

I could remove the nursery group if maintainers prefer, as it is an experimental group.

use_self lint is still in nursery because of false positives, not for style reasons.

allan2 commented 2 months ago

I've just kept the pedantic and cargo lint groups now. This is in line with rust-lang/cargo-bisect-rustc and rust-lang/rustc-perf.

WaffleLapkin commented 1 month ago

I did not change my opinions since https://github.com/rust-lang/rustc-hash/pull/51#pullrequestreview-2300027091