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

rustc: Fix proc_macro expansions on trait methods #44089

Merged
merged 1 commit into from
Aug 31, 2017

Commits on Aug 25, 2017

  1. rustc: Fix proc_macro expansions on trait methods

    This commit fixes procedural macro attributes being attached to trait methods,
    ensuring that they get resolved and expanded as other procedural macro
    attributes. The bug here was that `current_module` on the resolver was
    accidentally set to be a trait when it's otherwise only ever expecting a
    `mod`/block module. The actual fix here came from @jseyfried, I'm just helping
    to land it in the compiler!
    
    Closes rust-lang#42493
    alexcrichton committed Aug 25, 2017
    Configuration menu
    Copy the full SHA
    ce322ee View commit details
    Browse the repository at this point in the history