We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ContentEq
ContentHash
Fields which are concrete syntax tree-like details of literal AST types should be ignored by ContentEq and ContentHash:
raw
base: NumberBase
NumericLiteral
base: BigintBase
BigIntLiteral
These fields are not "content" in the same way as span: Span fields are not.
span: Span
Implement this with a #[content(ignore)] attr which ast_tools codegen understands.
#[content(ignore)]
ast_tools
The text was updated successfully, but these errors were encountered:
Implemented in #8426.
Sorry, something went wrong.
No branches or pull requests
Fields which are concrete syntax tree-like details of literal AST types should be ignored by
ContentEq
andContentHash
:raw
fields.base: NumberBase
inNumericLiteral
.base: BigintBase
inBigIntLiteral
.These fields are not "content" in the same way as
span: Span
fields are not.Implement this with a
#[content(ignore)]
attr whichast_tools
codegen understands.The text was updated successfully, but these errors were encountered: