Skip to content

Commit 0071ab3

Browse files
committed
Ignore type_complexity clippy lint
warning: very complex type used. Consider factoring parts into `type` definitions --> src/item.rs:1665:10 | 1665 | ) -> Result<( | __________^ 1666 | | Option<(Token![&], Option<Lifetime>)>, 1667 | | Option<Token![mut]>, 1668 | | Token![self], 1669 | | )> { | |______^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity = note: `-W clippy::type-complexity` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::type_complexity)]`
1 parent 3610c34 commit 0071ab3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@
300300
clippy::too_many_arguments,
301301
clippy::too_many_lines,
302302
clippy::trivially_copy_pass_by_ref,
303+
clippy::type_complexity,
303304
clippy::unconditional_recursion, // https://github.com/rust-lang/rust-clippy/issues/12133
304305
clippy::uninhabited_references,
305306
clippy::uninlined_format_args,

0 commit comments

Comments
 (0)