-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Macro-expanded unconfigured items are gated feature checked #32840
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
It looks like this was intentional (introduced in #22899), but I don't think it's a good idea. |
There are arguments on #32648 about why this is not a good idea: |
cc @rust-lang/lang |
Macro-expanded unconfigured items are gated feature checked, but ordinary unconfigured items are not. For example, the following should compile, ...
If we manually expand
mac! {}
, it always compiles:The text was updated successfully, but these errors were encountered: