no_sanitize
attribute can be applied to any item with arbitrary arguments
#128487
Labels
A-attributes
Area: Attributes (`#[…]`, `#![…]`)
A-sanitizers
Area: Sanitizers for correctness and code quality
C-bug
Category: This is a bug.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
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 because of attribute on an item where it makes no sense
Instead, this happened: compiled successfully
Meta
rustc --version --verbose
:cc #39699
see #128444 for where to fix this issue
The text was updated successfully, but these errors were encountered: