HomePhabricator

[Chronik] Remove `dead_code`, `elided_lifetimes_in_paths` and…

Description

[Chronik] Remove dead_code, elided_lifetimes_in_paths and single_use_lifetimes lints

Summary:

  • dead_code is already contained in unused (see https://doc.rust-lang.org/rustc/lints/groups.html), so we can remove it.
  • elided_lifetimes_in_paths is already contained in rust_2018_idioms.
  • single_use_lifetimes makes it very hard to use Higher-Rank Trait Bounds (i.e. for<'a> SomeTrait<'a>), so it seems to be very noisy.

Test Plan: ninja check-bitcoinsuite

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D11733

Details

Provenance
tobias_ruckAuthored on Jul 8 2022, 12:28
tobias_ruckPushed on Jul 11 2022, 12:51
Reviewer
Restricted Project
Differential Revision
D11733: [Chronik] Remove `dead_code`, `elided_lifetimes_in_paths` and `single_use_lifetimes` lints
Parents
rABCe328572e90f4: [Cashtab] contactList PropType error patch
Branches
Unknown
Tags
Unknown