rust/compiler/rustc_data_structures/src/graph
Amanda Stjerna 4bdccabda5 Borrowck: Simplify SCC annotation computation, placeholder rewriting
This simplifies the `PlaceholderReachability` `enum` by
replacing the case when no placeholders were reached with
a standard `Option::None`.

It also rewrites the API for `scc::Annotations` to be update-mut
rather than a more Functional programming style. This showed some slight
performance impact in early tests of the PR and definitely makes
the implementation simpler.
2026-01-27 14:22:53 +01:00
..
dominators Rustfmt 2025-02-08 22:12:13 +00:00
iterate coverage: Completely overhaul counter assignment, using node-flow graphs 2025-01-16 22:07:18 +11:00
linked_graph Rename graph::implementation::Graph to LinkedGraph 2025-05-06 14:35:06 +10:00
scc Borrowck: Simplify SCC annotation computation, placeholder rewriting 2026-01-27 14:22:53 +01:00
vec_graph Reformat use declarations. 2024-07-29 08:26:52 +10:00
mod.rs Rename graph::implementation::Graph to LinkedGraph 2025-05-06 14:35:06 +10:00
reference.rs Use RPITIT for Successors and Predecessors traits 2024-04-15 13:34:08 +00:00
reversed.rs Add wrapper type ReversedGraph for swapping successors/predecessors 2025-01-14 23:49:10 +11:00
tests.rs Add unreachable_pub to RUSTC_LINT_FLAGS for compiler/ crates. 2025-03-11 13:14:21 +11:00