We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86a7831 commit 51ecb96Copy full SHA for 51ecb96
1 file changed
compiler/rustc_mir/src/util/generic_graph.rs
@@ -41,7 +41,8 @@ fn bb_to_graph_node(block: BasicBlock, body: &Body<'_>, dark_mode: bool) -> Node
41
let label = node(def_id, block);
42
43
let (title, bgcolor) = if data.is_cleanup {
44
- (format!("{} (cleanup)", block.index()), "lightblue")
+ let color = if dark_mode { "royalblue" } else { "lightblue" };
45
+ (format!("{} (cleanup)", block.index()), color)
46
} else {
47
let color = if dark_mode { "dimgray" } else { "gray" };
48
(format!("{}", block.index()), color)
0 commit comments