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

Clarify "call site hierarchy" in macro #1874

Open
Arthur-Milchior opened this issue Jan 28, 2024 · 0 comments
Open

Clarify "call site hierarchy" in macro #1874

Arthur-Milchior opened this issue Jan 28, 2024 · 0 comments
Labels
A-macros Area: macros (general sense) E-hard Difficulty: might require advanced knowledge I-confusing Issue: info is confusing to readers T-compiler Relevant to compiler team

Comments

@Arthur-Milchior
Copy link
Contributor

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

@jieyouxu jieyouxu added T-compiler Relevant to compiler team A-macros Area: macros (general sense) I-confusing Issue: info is confusing to readers E-hard Difficulty: might require advanced knowledge labels Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-macros Area: macros (general sense) E-hard Difficulty: might require advanced knowledge I-confusing Issue: info is confusing to readers T-compiler Relevant to compiler team
Projects
None yet
Development

No branches or pull requests

2 participants