Module stack
rustc_
data_
structures
1.84.0-dev
Module stack
Module Items
Constants
Functions
In crate rustc_
data_
structures
Modules
aligned
atomic_ref
base_n
binary_search_util
captures
fingerprint
flat_map_in_place
flock
frozen
fx
graph
hashes
intern
jobserver
marker
memmap
obligation_forest
owned_slice
packed
profiling
sharded
small_c_str
snapshot_map
snapshot_vec
sorted_map
sso
stable_hasher
stack
steal
svh
sync
tagged_ptr
temp_dir
thinvec
transitive_relation
undo_log
unhash
unify
unord
work_queue
Macros
define_id_collections
define_stable_id_collections
external_bitflags_debug
impl_tag
parallel
static_assert_size
Structs
AtomicRef
FatalErrorMarker
OnDrop
Functions
defer
make_display
outline
rustc_data_structures
Module
stack
Copy item path
Settings
Help
Summary
Source
Constants
§
RED_
ZONE
🔒
STACK_
PER_
RECURSION
🔒
Functions
§
ensure_
sufficient_
stack
Grows the stack on demand to prevent stack overflow. Call this in strategic locations to “break up” recursive calls. E.g. almost any call to
visit_expr
or equivalent can benefit from this.