unsafe
blocks do not fire unsafe_code
lint
#126738
Labels
C-bug
Category: This is a bug.
F-unsafe_extern_blocks
`#![feature(unsafe_extern_blocks)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
RFC 3484 indicated that an
unsafe
block should fire theunsafe_code
lint. However, it does not appear to do that, yet.Expected results: Should fire the
unsafe_code
lint.Actual results: Lint is not fired.
Meta
cc @spastorino FYI, I didn't see a discussion of further work needing to be done in #124482, so I wanted to make sure it gets tracked.
Tracking:
The text was updated successfully, but these errors were encountered: