]> git.lizzy.rs Git - rust.git/commit
Implement lint for destructuring tuple structs with a let and a match (closes #2671)
authorJoe Clay <27cupsofcoffee@gmail.com>
Thu, 19 Apr 2018 19:34:31 +0000 (20:34 +0100)
committerJoe Clay <27cupsofcoffee@gmail.com>
Tue, 24 Apr 2018 16:56:13 +0000 (17:56 +0100)
commit3c38a36d5a655fa40a953c234b027d6bbbb430da
treede51354480995137d3904687e707269134234e47
parentae3213747d1bcd722e7a1236cd528cd32e1bafcb
Implement lint for destructuring tuple structs with a let and a match (closes #2671)
clippy_lints/src/infallible_destructuring_match.rs [new file with mode: 0644]
clippy_lints/src/lib.rs
tests/ui/infallible_destructuring_match.rs [new file with mode: 0644]
tests/ui/infallible_destructuring_match.stderr [new file with mode: 0644]