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

Allow parsing foreign impl blocks #102376

Closed
wants to merge 1 commit into from

Commits on Sep 27, 2022

  1. Support impl in foreign modules for macro use

    Allow `impl` blocks in foreign modules for more ergonomic use in macros.
    `impl` blocks still have no meaning in foreign modules and will cause an
    error if still present during lowering.
    
    Also adds explicit tests for the previous similar foreign module macro
    extensions to ensure that neither this nor those are accepted or crash
    the compiler when *not* fed to a macro.
    maurer committed Sep 27, 2022
    Copy the full SHA
    f728939 View commit details
    Browse the repository at this point in the history