rustc_
lint
1.84.0-beta.4
(202008a1b 2024-12-07)
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