rustc_lint::types

Function nonnull_optimization_guaranteed

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