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

Minor refactorings & implement --pretty expanded,hygiene to see syntax context & gensym information #16419

Merged
merged 3 commits into from Aug 30, 2014

Commits on Aug 29, 2014

  1. rustc: move pretty printing into its own module.

    There's a lot of it, and it's a fairly well-defined/separate chunk of
    code, so it might as well be separate.
    huonw committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    149032a View commit details
    Browse the repository at this point in the history
  2. rustc: remove a trait that is unnecessary after pretty move.

    The type in the `impl` is now in the module with the trait.
    huonw committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    ddc8cc9 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2014

  1. rustc: implement a pretty mode to print ident/name's ctxt & gensyms.

    `--pretty expanded,hygiene` is helpful with debugging macro issues,
    since two identifiers/names can be textually the same, but different
    internally (resulting in weird "undefined variable" errors).
    huonw committed Aug 30, 2014
    5 Configuration menu
    Copy the full SHA
    32e4371 View commit details
    Browse the repository at this point in the history