Skip to content

Commit

Permalink
Ignore unreadable_literal pedantic clippy lint in test
Browse files Browse the repository at this point in the history
    warning: long literal lacking separators
        --> tests/test_expr.rs:1189:23
         |
    1189 |     assert_eq!(count, 133539);
         |                       ^^^^^^ help: consider: `133_539`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal
         = note: `-W clippy::unreadable-literal` implied by `-W clippy::pedantic`
         = help: to override `-W clippy::pedantic` add `#[allow(clippy::unreadable_literal)]`
  • Loading branch information
dtolnay committed Dec 29, 2024
1 parent f10c2ea commit 8d1ca56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
clippy::needless_lifetimes,
clippy::single_element_loop,
clippy::too_many_lines,
clippy::uninlined_format_args
clippy::uninlined_format_args,
clippy::unreadable_literal
)]

#[macro_use]
Expand Down

0 comments on commit 8d1ca56

Please sign in to comment.