allow_internal_unstable
valid on non proc-macros
#133791
Labels
A-attributes
Area: Attributes (`#[…]`, `#![…]`)
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This bug was technically noticed before, in #69399. That issue was closed without fixing the issue (instead fixing another issue).
Found the bug looking at this gem of a function:
if it's a function;
look if it's a proc macro and return
if it's not a proc macro, also return.....
Anyway, I'll fix this with the attribute handling rework (#131229), I'm just opening the issue to track the fact that this is now a known bug.
@rustbot claim
@rustbot label +A-Attributes
The text was updated successfully, but these errors were encountered: