rustc_
lint
1.89.0-nightly
(99e7c15e8 2025-06-01)
In rustc_
lint::
dangling
rustc_lint
::
dangling
Function
owns_allocation
Copy item path
Source
fn owns_allocation(tcx:
TyCtxt
<'_>, ty:
Ty
<'_>) ->
bool