We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35a35d8 commit 86e2ca3Copy full SHA for 86e2ca3
compiler/rustc_mir_build/src/check_unsafety.rs
@@ -77,7 +77,8 @@ impl<'tcx> UnsafetyVisitor<'_, 'tcx> {
77
SafetyContext::UnsafeBlock { ref mut used, .. } => {
78
// Mark this block as useful (even inside `unsafe fn`, where it is technically
79
// redundant -- but we want to eventually enable `unsafe_op_in_unsafe_fn` by
80
- // default which will require those blocks).
+ // default which will require those blocks:
81
+ // https://github.com/rust-lang/rust/issues/71668#issuecomment-1203075594).
82
*used = true;
83
}
84
SafetyContext::UnsafeFn if unsafe_op_in_unsafe_fn_allowed => {}
0 commit comments