]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_middle/src/mir/generic_graph.rs
Rollup merge of #92918 - compiler-errors:gat-expr-lifetime-elision, r=jackh726
[rust.git] / compiler / rustc_middle / src / mir / generic_graph.rs
index 44d0ce935df7fd2328b0891a1c1f23213159b34a..770b52a4d4b0fbb3ffc26e9bdf3030b23e2d7e4c 100644 (file)
@@ -55,7 +55,7 @@ fn bb_to_graph_node(block: BasicBlock, body: &Body<'_>, dark_mode: bool) -> Node
     data.terminator().kind.fmt_head(&mut terminator_head).unwrap();
     stmts.push(terminator_head);
 
-    Node::from_list(stmts, label, title, style)
+    Node::new(stmts, label, title, style)
 }
 
 // Must match `[0-9A-Za-z_]*`. This does not appear in the rendered graph, so