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

Pretty-print macro matchers instead of using source code #86282

Merged
merged 3 commits into from
Jul 5, 2021

Commits on Jun 29, 2021

  1. Add regression test for rust-lang#86208

    This test does not test the output as well as I would like, but I think
    I am limited by htmldocck. I would really just like to strip all the
    HTML tags from the output for the sake of the different `@has` checks,
    but that doesn't seem to be currently possible.
    camelid committed Jun 29, 2021
    Configuration menu
    Copy the full SHA
    f749d97 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2021

  1. Pretty-print macro matchers instead of using source code

    The output is not quite as nice as it used to be, but it does work.
    camelid committed Jul 3, 2021
    Configuration menu
    Copy the full SHA
    f82d484 View commit details
    Browse the repository at this point in the history
  2. rustc_ast_pretty: Don't print space after $

    For example, this code:
    
        $arg:expr
    
    used to be pretty-printed as:
    
        $ arg : expr
    
    but is now pretty-printed as:
    
        $arg : expr
    camelid committed Jul 3, 2021
    Configuration menu
    Copy the full SHA
    7ffec70 View commit details
    Browse the repository at this point in the history