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

Forbid pub mymacro!(); #22285

Merged
merged 1 commit into from
Feb 16, 2015
Merged

Forbid pub mymacro!(); #22285

merged 1 commit into from
Feb 16, 2015

Commits on Feb 13, 2015

  1. Forbid pub mymacro!();

    It's not clear what this means, because a macro in item position can expand to
    zero or more items.  For now we disallow it, which is technically a
    
        [breaking-change]
    
    but is landing without an RFC.  The `pub` keyword previously had no effect,
    which seems quite unintended.
    
    Fixes rust-lang#18317.
    Fixes rust-lang#14660.
    kmcallister committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    dcd4cef View commit details
    Browse the repository at this point in the history