Skip to main content
owns_allocation
rustc_
lint
1.97.0-beta.4
(36645eb0d 2026-06-12)
In rustc_
lint::
dangling
rustc_lint
::
dangling
Function
owns_
allocation
Copy item path
Source
fn owns_allocation(tcx:
TyCtxt
<'_>, ty:
Ty
<'_>) ->
bool