rustc_
mir_
build
1.85.0-nightly
(a47555110 2024-11-22)
In rustc_
mir_
build::
check_
unsafety
rustc_mir_build
::
check_unsafety
Function
check_unsafety
Copy item path
Source
pub(crate) fn check_unsafety(tcx:
TyCtxt
<'_>, def:
LocalDefId
)