-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
#[cfg(...)] ignores namespace #53489
Comments
What happens if you also have |
@eddyb Oh no, |
This behavior exists since 1.27. On 1.26 or before, |
This looks like an unintended side-effect of #50030 that allowed arbitrary paths in meta-items (including nested ones), but Most of attributes, including |
I'd suggest having a flag on "meta-item parsing" to say whether it should allow paths at all - most of the builtin attributes don't need paths. |
The |
Repro:
while I expected these should print
true/false
,false/true
andfalse/false
instead.(Note: this also affects
--print cfg
whichsomething::a
is collapsed toa
)cc @petrochenkov @eddyb
The text was updated successfully, but these errors were encountered: