Skip to content

allow_internal_unstable valid on non proc-macros #133791

Open
@jdonszelmann

Description

@jdonszelmann

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:

Image

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

Metadata

Metadata

Assignees

Labels

A-attributesArea: Attributes (`#[…]`, `#![…]`)C-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions