update comment
Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>
This commit is contained in:
parent
3e44ca95dd
commit
35a35d86fd
1 changed files with 0 additions and 3 deletions
|
@ -22,9 +22,6 @@ pub struct UnsafetyChecker<'a, 'tcx> {
|
||||||
param_env: ty::ParamEnv<'tcx>,
|
param_env: ty::ParamEnv<'tcx>,
|
||||||
|
|
||||||
/// Used `unsafe` blocks in this function. This is used for the "unused_unsafe" lint.
|
/// Used `unsafe` blocks in this function. This is used for the "unused_unsafe" lint.
|
||||||
///
|
|
||||||
/// The keys are the used `unsafe` blocks, the UnusedUnsafeKind indicates whether
|
|
||||||
/// or not any of the usages happen at a place that doesn't allow `unsafe_op_in_unsafe_fn`.
|
|
||||||
used_unsafe_blocks: FxHashSet<HirId>,
|
used_unsafe_blocks: FxHashSet<HirId>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue