diff options
| author | bors <bors@rust-lang.org> | 2022-10-24 20:21:08 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-10-24 20:21:08 +0000 |
| commit | b698a151b3eb1c6cd6a70d3e9d9d0aab2711f672 (patch) | |
| tree | ee779d6e190d7fcad34fdf7f5d07123905cd1441 /src/test/rustdoc-ui/coverage/enum-tuple.rs | |
| parent | 5b09d4e1f7082aff024faf27263f78e7fc7190a2 (diff) | |
| parent | dcde480a667f24923c9895e3eb6e9a030d271299 (diff) | |
| download | rust-b698a151b3eb1c6cd6a70d3e9d9d0aab2711f672.tar.gz rust-b698a151b3eb1c6cd6a70d3e9d9d0aab2711f672.zip | |
Auto merge of #8437 - est31:let_else_lint, r=flip1995
Add lint to tell about let else pattern Adds a lint to tell the user if the let_else pattern should be used. ~~The PR is blocked probably on rustfmt support, as clippy shouldn't suggest features that aren't yet fully supported by all tools.~~ Edit: I guess adding it as a restriction lint for now is the best option, it can be turned into a style lint later. --- changelog: addition of a new lint to check for manual `let else`
Diffstat (limited to 'src/test/rustdoc-ui/coverage/enum-tuple.rs')
0 files changed, 0 insertions, 0 deletions
