[−][src]Function rustc_mir::transform::check_unsafety::check_unused_unsafe
fn check_unused_unsafe<'a, 'tcx>(
tcx: TyCtxt<'a, 'tcx, 'tcx>,
def_id: DefId,
used_unsafe: &FxHashSet<NodeId>,
unsafe_blocks: &'a mut Vec<(NodeId, bool)>
)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?