Skip to content

Fix pretty-printing of macro invocations #2339

Closed

Description

@catamorphism

The case in pprust::print_mac for a mac_invoc doesn't print out the body, and there's a FIXME about it. That's about all I can figure out.

Activity

  1. sanxiyn commented on Feb 8, 2013

    @sanxiyn
    Contributor

    Is this still present? I don't see any FIXME in pprust.rs.

  2. graydon commented on May 6, 2013

    @graydon
    Contributor

    It is no longer present. Though the printing is not great. Making it "generally pretty" in all cases is a longer and less-well-defined matter. Closing this for now.

  3. added a commit that references this issue on Sep 22, 2022
  4. added a commit that references this issue on Apr 19, 2025
  5. added a commit that references this issue on Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-prettyArea: Pretty printing (including `-Z unpretty`)A-syntaxextArea: Syntax extensionsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions