]> git.lizzy.rs Git - rust.git/commit
More diagnostic items for Clippy usage
authorPhilipp Hansch <dev@phansch.net>
Wed, 22 Apr 2020 05:47:31 +0000 (07:47 +0200)
committerPhilipp Hansch <dev@phansch.net>
Wed, 22 Apr 2020 05:57:56 +0000 (07:57 +0200)
commit23b9f46fff4453fb90611c2fb554e004f1cec096
tree4b8df569f90c5be69d0f10e84686489faa4c3500
parent8ce3f840ae9b735a66531996c32330f24b877cb0
More diagnostic items for Clippy usage

This adds a couple of more diagnostic items to be used in Clippy.
I chose these particular ones because they were the types which we seem
to check for the most in Clippy. I'm not sure if the
`cfg_attr(not(test))` is needed, but it was also used for `Vec` and a
few other types.
src/liballoc/collections/vec_deque.rs
src/liballoc/string.rs
src/libstd/collections/hash/map.rs
src/libstd/collections/hash/set.rs
src/libstd/sync/mutex.rs