Skip to content

Commit 45e18f5

Browse files
committed
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
1 parent 2585669 commit 45e18f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

impl/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
clippy::blocks_in_conditions,
33
clippy::cast_lossless,
44
clippy::cast_possible_truncation,
5+
clippy::enum_glob_use,
56
clippy::manual_find,
67
clippy::manual_let_else,
78
clippy::manual_map,

0 commit comments

Comments
 (0)