Function rustc_lint::types::ty_is_known_nonnull

source ·
fn ty_is_known_nonnull<'tcx>(
    tcx: TyCtxt<'tcx>,
    param_env: ParamEnv<'tcx>,
    ty: Ty<'tcx>,
    mode: CItemKind
) -> bool
Expand description

Is type known to be non-null?