owns_allocation
rustc_
lint
1.93.0-beta.3
(6dfb8017e 2025-12-16)
In rustc_
lint::
dangling
rustc_lint
::
dangling
Function
owns_
allocation
Copy item path
Source
fn owns_allocation(tcx:
TyCtxt
<'_>, ty:
Ty
<'_>) ->
bool