of rust used by
grmtools updates as the rust language evolves. We try to
keep code generated by
CTLexerBuilder building with
older versions of rust, so that downstream users can use the edition that
suits their requirements.
CTParserBuilder both have functions,
that accept a
While there is a preference for keeping the code in this manual working with all editions, exceptions may be made when for clarity.
- In An AST evaluator, with the rust_2018_idioms lint deprecates
some behavior which was previously accepted by the 2015 edition. The
evalfunction has an elided lifetime that must be given explicitly as
lexer: &dyn NonStreamingLexer<'_, DefaultLexeme, u32>.