-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Impossible to have a macro expand to pub
method
#17635
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
Labels
A-syntaxext
Area: Syntax extensions
Comments
pub fn
pub
method
pub
methodpub
method
This is a problem with |
Dupe of #17436 ? |
@shepmaster, thanks. |
lnicola
pushed a commit
to lnicola/rust
that referenced
this issue
Jul 28, 2024
feat: add inlay hint support for block expr with lifetime label  close rust-lang/rust-analyzer#17582
RalfJung
pushed a commit
to RalfJung/rust
that referenced
this issue
Aug 1, 2024
feat: add inlay hint support for block expr with lifetime label  close rust-lang/rust-analyzer#17582
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently a macro cannot create a pub fn. It can however create a regular fn.
Fails with:
The text was updated successfully, but these errors were encountered: