We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e44ca9 commit 35a35d8Copy full SHA for 35a35d8
compiler/rustc_mir_transform/src/check_unsafety.rs
@@ -22,9 +22,6 @@ pub struct UnsafetyChecker<'a, 'tcx> {
22
param_env: ty::ParamEnv<'tcx>,
23
24
/// Used `unsafe` blocks in this function. This is used for the "unused_unsafe" lint.
25
- ///
26
- /// The keys are the used `unsafe` blocks, the UnusedUnsafeKind indicates whether
27
- /// or not any of the usages happen at a place that doesn't allow `unsafe_op_in_unsafe_fn`.
28
used_unsafe_blocks: FxHashSet<HirId>,
29
}
30
0 commit comments