Skip to content

Commit

Permalink
Ignore diverging_sub_expression clippy lint
Browse files Browse the repository at this point in the history
    warning: sub-expression diverges
       --> src/data.rs:263:47
        |
    263 |                     initial = consume![if] || break;
        |                                               ^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#diverging_sub_expression
        = note: `-W clippy::diverging-sub-expression` implied by `-W clippy::all`
        = help: to override `-W clippy::all` add `#[allow(clippy::diverging_sub_expression)]`
  • Loading branch information
dtolnay committed Jan 1, 2024
1 parent d341612 commit 82f1eb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@
clippy::cast_ptr_alignment,
clippy::default_trait_access,
clippy::derivable_impls,
clippy::diverging_sub_expression,
clippy::doc_markdown,
clippy::expl_impl_clone_on_copy,
clippy::explicit_auto_deref,
Expand Down

0 comments on commit 82f1eb7

Please sign in to comment.