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

Set tokens on AST node in collect_tokens #80993

Merged
merged 1 commit into from
Jan 15, 2021

Commits on Jan 14, 2021

  1. Set tokens on AST node in collect_tokens

    A new `HasTokens` trait is introduced, which is used to move logic from
    the callers of `collect_tokens` into the body of `collect_tokens`.
    
    In addition to reducing duplication, this paves the way for PR rust-lang#80689,
    which needs to perform additional logic during token collection.
    Aaron1011 committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    a961e67 View commit details
    Browse the repository at this point in the history