We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69be5f6 commit da3adf8Copy full SHA for da3adf8
lrpar/cttests/src/parseparam_copy.test
@@ -9,7 +9,12 @@ grammar: |
9
// Since then we relaxed the bounds to require `Clone`.
10
// This tests backwards compatibility of actions that
11
// rely on the older copy bounds.
12
- 'INT' { (move |_| {})(p); check_copy(p); p + $lexer.span_str($1.unwrap().span()).parse::<u64>().unwrap() }
+ 'INT' {
13
+ #[allow(clippy::redundant_closure_call)]
14
+ (move |_| {})(p);
15
+ check_copy(p);
16
+ p + $lexer.span_str($1.unwrap().span()).parse::<u64>().unwrap()
17
+ }
18
;
19
%%
20
fn check_copy<T: Copy>(_: T){}
0 commit comments