diff options
| author | bors <bors@rust-lang.org> | 2022-03-21 20:42:51 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-03-21 20:42:51 +0000 |
| commit | f07ee8a998eff61977d594eeac44dc1d0ead7b02 (patch) | |
| tree | d17e9b7df751c8b47538dc9a610863954fde5d73 /clippy_lints/src/lib.rs | |
| parent | 4a07662d948bd831eba6a87b7acc080cbee88d4a (diff) | |
| parent | 773d20341ad8061df9acca781bab7a0fb38ed684 (diff) | |
| download | rust-f07ee8a998eff61977d594eeac44dc1d0ead7b02.tar.gz rust-f07ee8a998eff61977d594eeac44dc1d0ead7b02.zip | |
Auto merge of #8232 - Jarcho:match_same_arm_860, r=xFrednet
`match_same_arms` fix fixes #860 fixes #1140 changelog: Don't lint `match_same_arms` when an interposing arm's pattern would overlap
Diffstat (limited to 'clippy_lints/src/lib.rs')
| -rw-r--r-- | clippy_lints/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clippy_lints/src/lib.rs b/clippy_lints/src/lib.rs index 504235d0d1e..f2a07999144 100644 --- a/clippy_lints/src/lib.rs +++ b/clippy_lints/src/lib.rs @@ -23,6 +23,7 @@ // FIXME: switch to something more ergonomic here, once available. // (Currently there is no way to opt into sysroot crates without `extern crate`.) +extern crate rustc_arena; extern crate rustc_ast; extern crate rustc_ast_pretty; extern crate rustc_attr; |
