rustc_
lint
1.89.0
(29483883e 2025-08-04)
In rustc_
lint::
dangling
rustc_lint
::
dangling
Function
owns_allocation
Copy item path
Source
fn owns_allocation(tcx:
TyCtxt
<'_>, ty:
Ty
<'_>) ->
bool