Commit 8d1077b
committed
Disable clippy precedence lint
warning: precedence might not be obvious
--> syntax/parse.rs:742:5
|
742 | / |input: ParseStream| -> Result<Api> {
743 | | let unparsed_attrs = input.call(Attribute::parse_outer)?;
744 | | let visibility: Visibility = input.parse()?;
745 | | if input.peek(Token![type]) {
... |
767 | | .parse2(tokens)
| |___________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence
= note: `-W clippy::precedence` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::precedence)]`
help: consider parenthesizing the closure
|
742 ~ (|input: ParseStream| -> Result<Api> {
743 | let unparsed_attrs = input.call(Attribute::parse_outer)?;
...
765 | }
766 ~ })
|1 parent 82a3c63 commit 8d1077b
4 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
0 commit comments