Commit fa9129f
committed
Resolve unnested_or_patterns pedantic clippy lint in test
warning: unnested or-patterns
--> tests/common/eq.rs:895:25
|
895 | / AttrItemKind::Parsed(_)
896 | | | AttrItemKind::Unparsed(AttrArgs::Empty)
897 | | | AttrItemKind::Unparsed(AttrArgs::Delimited(_)) => false,
| |________________________________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnested_or_patterns
= note: `-W clippy::unnested-or-patterns` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::unnested_or_patterns)]`
help: nest the patterns
|
895 ~ AttrItemKind::Parsed(_) |
896 ~ AttrItemKind::Unparsed(AttrArgs::Empty | AttrArgs::Delimited(_)) => false,
|1 parent 9109265 commit fa9129f
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
893 | 893 | | |
894 | 894 | | |
895 | 895 | | |
896 | | - | |
897 | | - | |
| 896 | + | |
898 | 897 | | |
899 | 898 | | |
900 | 899 | | |
| |||
0 commit comments