owns_allocation
rustc_
lint
1.91.0-nightly
(cdb45c87e 2025-08-27)
In rustc_
lint::
dangling
rustc_lint
::
dangling
Function
owns_
allocation
Copy item path
Source
fn owns_allocation(tcx:
TyCtxt
<'_>, ty:
Ty
<'_>) ->
bool