Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate expr scanner to table driven #1779

Merged
merged 5 commits into from
Nov 2, 2024
Merged

Translate expr scanner to table driven #1779

merged 5 commits into from
Nov 2, 2024

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Nov 2, 2024

No description provided.

    warning: usage of wildcard import for enum variants
     --> 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
     --> 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
@dtolnay dtolnay merged commit 1f103d4 into master Nov 2, 2024
29 checks passed
@dtolnay dtolnay deleted the scan branch November 2, 2024 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant