rustc_
lint
1.83.0-beta.5
(eb6e3fa1a 2024-11-08)
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