Skip to main content
owns_allocation
rustc_
lint
1.100.0-beta.7
(fd8e211ae 2026-10-17)
In rustc_
lint::
dangling
rustc_lint
::
dangling
Function
owns_
allocation
Copy item path
Source
fn owns_allocation(tcx:
TyCtxt
<'_>, ty:
Ty
<'_>) ->
bool