diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-05-06 19:27:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-06 19:27:39 +0200 |
| commit | 74e5184f9bba00279790c798d5947deaf8eceaaf (patch) | |
| tree | 21de0038bc60646aa9488e74338d41f5990532c4 /compiler/rustc_pattern_analysis/src | |
| parent | 3b82d4640aaeec3cd66b96bc1c7206d69d30b2de (diff) | |
| parent | 9e7fb67838ce06e418d078c4d04b0ff578bd1f43 (diff) | |
| download | rust-74e5184f9bba00279790c798d5947deaf8eceaaf.tar.gz rust-74e5184f9bba00279790c798d5947deaf8eceaaf.zip | |
Rollup merge of #140692 - Zalathar:linked-graph, r=wesleywiser
Rename `graph::implementation::Graph` to `LinkedGraph` One of the more confusing parts of the `rustc_data_structures::graph` module is this mysteriously-named “Graph” type, which turns out to be an older standalone graph implementation that predates the traits used by the rest of the graph module. This graph type is still used in a couple of places (for reporting certain lifetime errors, and by certain debugging/test-only checks of the query dependency graph), but hasn't had much attention in years. This PR renames that old graph type from `implementation::Graph` to `linked_graph::LinkedGraph` to give it a more distinct identity (and make existing uses easier to find), and adds some notes to gently discourage any further use in new code. No functional change.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
