[lint: unsafe_in_unsafe_fn] A lint which triggers on unsafe operations in unsafe fn
#69270
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
As a follow up to fixing #69173 via #69245, we would like to see a lint, starting as
allow
-by-default which would trigger on the following situation:Eventually, over time, we would like to consider moving this lint to be
warn
-by-default, but we would like to give the ecosystem time to adapt before doing so. We have not discussed what the timescale of "eventually" entails.Context (this has already been tentatively accepted by the language team in meetings, though not FCP):
cc @rust-lang/lang @RalfJung
This issue has been assigned to @LeSeulArtichaut via this comment.
The text was updated successfully, but these errors were encountered: