You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pest and pest-derived seem to accept grammar that has rust's reserved keywords, such as type, struct, mod etc.
However, pest-ast fails.
#[derive(Debug,Clone,FromPest)]#[pest_ast(rule(Rule::type))]// <<< Causes issue, and fails to compile, since type is a reserved keywordpubenumType{Int(Int),Id(Id),}