rustc_lint::types

Function nonnull_optimization_guaranteed

Source
pub(crate) fn nonnull_optimization_guaranteed<'tcx>(
    tcx: TyCtxt<'tcx>,
    def: AdtDef<'tcx>,
) -> bool