-
-
Notifications
You must be signed in to change notification settings - Fork 323
Formal function attributes is still unsupported? #685
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
Comments
This should work as of feed12f, but it looks like the compiler is not passing the attrs in to the macro at all. Try putting a |
@dtolnay Yeah, the result of |
Yes. You should make sure to include a minimal repro that does not use any crates, since you don't need a crate to demonstrate the buggy behavior. |
Thx, I have reported it rust-lang/rust#63210. |
Nice, let's close this issue and continue to track this over there. |
Uh oh!
There was an error while loading. Please reload this page.
As this example repo
This is the example proc-macro:
This is the test:
run
cargo expand
:I cannot get the attributes of parameter. How can I get it?
Cargo.toml
:toolchain:
nightly-x86_64-apple-darwin(8a58268b5 2019-07-31)
The text was updated successfully, but these errors were encountered: