Skip to content

Commit

Permalink
Update docs for unsafe_op_in_unsafe_fn stability.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Apr 14, 2021
1 parent d408fdd commit e67f443
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions compiler/rustc_lint_defs/src/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2522,9 +2522,10 @@ declare_lint! {
///
/// The fix to this is to wrap the unsafe code in an `unsafe` block.
///
/// This lint is "allow" by default because it has not yet been
/// stabilized, and is not yet complete. See [RFC #2585] and [issue
/// #71668] for more details
/// This lint is "allow" by default since this will affect a large amount
/// of existing code, and the exact plan for increasing the severity is
/// still being considered. See [RFC #2585] and [issue #71668] for more
/// details.
///
/// [`unsafe fn`]: https://doc.rust-lang.org/reference/unsafe-functions.html
/// [`unsafe` block]: https://doc.rust-lang.org/reference/expressions/block-expr.html#unsafe-blocks
Expand Down

0 comments on commit e67f443

Please sign in to comment.