about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/graph/reference.rs
diff options
context:
space:
mode:
authorNadrieril <nadrieril+git@gmail.com>2024-03-04 01:57:39 +0100
committerNadrieril <nadrieril+git@gmail.com>2024-03-27 17:58:35 +0100
commit23c9f698c09d44d6d8ea27fa7631202f26209be3 (patch)
tree48c18282d0ab362ae4488f6fdd815f6eda1687b1 /compiler/rustc_data_structures/src/graph/reference.rs
parent10a7aa14fed9b528b74b0f098c4899c37c09a9c7 (diff)
downloadrust-23c9f698c09d44d6d8ea27fa7631202f26209be3.tar.gz
rust-23c9f698c09d44d6d8ea27fa7631202f26209be3.zip
Avoid recursion in creating and merging or-patterns
By calling back into `match_candidates`, we only need to expand one
layer at a time. Conversely, since we always try to simplify a layer
that we just expanded, we only have to merge one layer at a time.
Diffstat (limited to 'compiler/rustc_data_structures/src/graph/reference.rs')
0 files changed, 0 insertions, 0 deletions