-
Notifications
You must be signed in to change notification settings - Fork 4
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
select macro uses ident instead of expr #6
Comments
Same with |
There's no safety reasons for this, we accept patches to have macros accept a wider array of options and forms. |
Afaik @taiki-e tried to make this work for In async-rs/async-std#405 we've added Thanks! |
Geoffroy gave a hint at a slightly better version here: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=fd5313767dfa99e460c60a33d940cef8 |
Is there a safety reason for this? Otherwise it'd greatly improve user friendlyness if the macro could take an expression instead of an identifier!
The text was updated successfully, but these errors were encountered: