Skip to content

Clarify "call site hierarchy" in macro #1874

Open
@Arthur-Milchior

Description

@Arthur-Milchior

I'd appreciate if you could clarify, in https://rustc-dev-guide.rust-lang.org/macro-expansion.html , the part about call site hierarchy.
Giving an example with a non-trivial hierarchy may suffices. But right now, I admit I've no idea what it means. And why this is compared to the first hierarchy.
It's even stranger, because the text mentions the hierarchy of macro invocation, but it considers the hierarchy of baz which is not a macro

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-macrosArea: macros (general sense)E-hardDifficulty: might require advanced knowledgeI-confusingIssue: info is confusing to readersT-compilerRelevant to compiler team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions