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