rustc_
lint
1.89.0-nightly
(4d051fb30 2025-05-18)
In rustc_
lint::
types
rustc_lint
::
types
Function
nonnull_optimization_guaranteed
Copy item path
Source
pub(crate) fn nonnull_optimization_guaranteed<'tcx>( tcx:
TyCtxt
<'tcx>, def:
AdtDef
<'tcx>, ) ->
bool