Skip to content

Improvement: Tell me where I am in the tree when a parse failure happens #26

@jasminemoore-verses

Description

@jasminemoore-verses

The error message currently includes which AST (struct|enum) is currently being parsed, but does not say which Pest token we are currently at.

  • "Extraneous tokens" should tell me which tokens are bonus
  • "No Match" should tell me what token is present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions