[−][src]Function rustc_lint::types::ty_is_known_nonnull
pub(crate) fn ty_is_known_nonnull<'tcx>(
cx: &LateContext<'tcx>,
ty: Ty<'tcx>,
mode: CItemKind
) -> bool
Is type known to be non-null?
pub(crate) fn ty_is_known_nonnull<'tcx>(
cx: &LateContext<'tcx>,
ty: Ty<'tcx>,
mode: CItemKind
) -> bool
Is type known to be non-null?