]> git.lizzy.rs Git - rust.git/commit
Don't lint `manual_non_exhaustive` when the enum variant is used
authorJason Newcomb <jsnewcomb@pm.me>
Wed, 6 Apr 2022 13:26:59 +0000 (09:26 -0400)
committerJason Newcomb <jsnewcomb@pm.me>
Wed, 6 Apr 2022 14:12:30 +0000 (10:12 -0400)
commit6e20a634e7a87a8c0234397e9fdcd8d8dea4e0f4
treebdd1a54d87be09fef504661f46ef3474bf9a6f37
parent9a095064062b3a832eea919efdc4761a697803b4
Don't lint `manual_non_exhaustive` when the enum variant is used
clippy_lints/src/lib.rs
clippy_lints/src/manual_non_exhaustive.rs
tests/ui/manual_non_exhaustive.rs [deleted file]
tests/ui/manual_non_exhaustive.stderr [deleted file]
tests/ui/manual_non_exhaustive_enum.rs [new file with mode: 0644]
tests/ui/manual_non_exhaustive_enum.stderr [new file with mode: 0644]
tests/ui/manual_non_exhaustive_struct.rs [new file with mode: 0644]
tests/ui/manual_non_exhaustive_struct.stderr [new file with mode: 0644]