-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
unsafe blocks do not fire unsafe_code lint #126738
Copy link
Copy link
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.F-unsafe_extern_blocks`#![feature(unsafe_extern_blocks)]``#![feature(unsafe_extern_blocks)]`T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.F-unsafe_extern_blocks`#![feature(unsafe_extern_blocks)]``#![feature(unsafe_extern_blocks)]`T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
RFC 3484 indicated that an
unsafeblock should fire theunsafe_codelint. However, it does not appear to do that, yet.Expected results: Should fire the
unsafe_codelint.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: