Skip to main content
owns_allocation
rustc_
lint
1.96.0-nightly
(b90dc1e59 2026-03-04)
In rustc_
lint::
dangling
rustc_lint
::
dangling
Function
owns_
allocation
Copy item path
Source
fn owns_allocation(tcx:
TyCtxt
<'_>, ty:
Ty
<'_>) ->
bool