check_unsafety
rustc_
mir_
build
1.92.0-beta.3
(f3f12444a 2025-11-09)
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
)