Ignore enum_glob_use pedantic clippy lint

warning: usage of wildcard import for enum variants
     --> impl/src/scan_expr.rs:1:12
      |
    1 | use self::{Action::*, Input::*};
      |            ^^^^^^^^^ help: try: `Action::{DecDepth, Finish, IncDepth, SetState}`
      |
      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_glob_use
      = note: `-W clippy::enum-glob-use` implied by `-W clippy::pedantic`
      = help: to override `-W clippy::pedantic` add `#[allow(clippy::enum_glob_use)]`

    warning: usage of wildcard import for enum variants
     --> impl/src/scan_expr.rs:1:23
      |
    1 | use self::{Action::*, Input::*};
      |                       ^^^^^^^^ help: try: `Input::{CanBeginExpr, ConsumeAny, ConsumeBinOp, ConsumeBrace, ConsumeDelimiter, ConsumeIdent, ConsumeLifetime, ConsumeLiteral, ConsumeNestedBrace, Empty, ExpectPath, ExpectTurbofish, ExpectType, Keyword, Otherwise, Punct}`
      |
      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_glob_use
This commit is contained in:
David Tolnay 2024-11-02 09:45:25 -07:00
parent 2585669fa1
commit 45e18f53df
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -2,6 +2,7 @@
clippy::blocks_in_conditions,
clippy::cast_lossless,
clippy::cast_possible_truncation,
clippy::enum_glob_use,
clippy::manual_find,
clippy::manual_let_else,
clippy::manual_map,