You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unsafe attributes have been stabilized (rust-lang/rust#128771), thus it would be nice to have a lint that ensures // SAFETY comments are in place.
Since undocumented_unsafe_blocks covers impls too, perhaps it should also cover this too, although it may be best to possibly split them (but that is a different issue).
What it does
Unsafe attributes have been stabilized (rust-lang/rust#128771), thus it would be nice to have a lint that ensures
// SAFETY
comments are in place.Since
undocumented_unsafe_blocks
coversimpl
s too, perhaps it should also cover this too, although it may be best to possibly split them (but that is a different issue).See #13317 as well.
Advantage
No response
Drawbacks
No response
Example
Should be written as:
The text was updated successfully, but these errors were encountered: