#[pointee] attribute can be applied to anything #128485
Labels
A-attributes
Area: Attributes (`#[…]`, `#![…]`)
C-bug
Category: This is a bug.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
F-derive_coerce_pointee
Feature: RFC 3621's oft-renamed implementation
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: compilation failure
Instead, this happened: compilation succeeded
Meta
rustc --version --verbose
:cc #123430
see #128444 for where to fix this issue
The text was updated successfully, but these errors were encountered: