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

proc_macro: Preserve spans of attributes on functions #52536

Merged
merged 1 commit into from
Jul 21, 2018

Commits on Jul 19, 2018

  1. proc_macro: Preserve spans of attributes on functions

    This commit updates the tokenization of items which are subsequently passed to
    `proc_macro` to ensure that span information is preserved on attributes as much
    as possible. Previously this area of the code suffered from rust-lang#43081 where we
    haven't actually implemented converting an attribute to to a token tree yet, but
    a local fix was possible here.
    
    Closes rust-lang#47941
    alexcrichton committed Jul 19, 2018
    Configuration menu
    Copy the full SHA
    5332375 View commit details
    Browse the repository at this point in the history