Skip to content

Commit

Permalink
Ignore enum_glob_use pedantic clippy lint
Browse files Browse the repository at this point in the history
    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
  • Loading branch information
dtolnay committed Nov 2, 2024
1 parent 2585669 commit 45e18f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions impl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 45e18f5

Please sign in to comment.