owns_allocation
rustc_
lint
1.91.0-beta.6
(cbf84ed0c 2025-10-11)
In rustc_
lint::
dangling
rustc_lint
::
dangling
Function
owns_
allocation
Copy item path
Source
fn owns_allocation(tcx:
TyCtxt
<'_>, ty:
Ty
<'_>) ->
bool