☰
In rustc_mir_transform::check_unsafety
?
Function
rustc_mir_transform
::
check_unsafety
::
unsafe_op_in_unsafe_fn_allowed
source
·
[
−
]
fn unsafe_op_in_unsafe_fn_allowed(tcx:
TyCtxt
<'_>, id:
HirId
) ->
bool