Skip to main content

Module arena_cached

Module arena_cached 

Source

Re-exportsยง

use std::mem; ๐Ÿ”’
use rustc_arena::TypedArena; ๐Ÿ”’
use rustc_span::ErrorGuaranteed; ๐Ÿ”’
use crate::ty::TyCtxt; ๐Ÿ”’

Traitsยง

ArenaCached
Helper trait that allows arena_cache queries to return:

Functionsยง

do_alloc ๐Ÿ”’
Allocates a value in either its dedicated arena, or in the common dropless arena, depending on whether it needs to be dropped.