Skip to content

Commit 86e2ca3

Browse files
authored
add link to discussion
1 parent 35a35d8 commit 86e2ca3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_mir_build/src/check_unsafety.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ impl<'tcx> UnsafetyVisitor<'_, 'tcx> {
7777
SafetyContext::UnsafeBlock { ref mut used, .. } => {
7878
// Mark this block as useful (even inside `unsafe fn`, where it is technically
7979
// redundant -- but we want to eventually enable `unsafe_op_in_unsafe_fn` by
80-
// default which will require those blocks).
80+
// default which will require those blocks:
81+
// https://github.com/rust-lang/rust/issues/71668#issuecomment-1203075594).
8182
*used = true;
8283
}
8384
SafetyContext::UnsafeFn if unsafe_op_in_unsafe_fn_allowed => {}

0 commit comments

Comments
 (0)