]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_codegen_cranelift/src/analyze.rs
Rollup merge of #101753 - oli-obk:tait_closure_args, r=compiler-errors
[rust.git] / compiler / rustc_codegen_cranelift / src / analyze.rs
index 35b89358b1984ee40a2c184a38753987ffbd46f7..0cbb9f3ec2d80512d6277be4ab8463d07932e2bc 100644 (file)
@@ -26,7 +26,7 @@ pub(crate) fn analyze(fx: &FunctionCx<'_, '_, '_>) -> IndexVec<Local, SsaKind> {
         })
         .collect::<IndexVec<Local, SsaKind>>();
 
-    for bb in fx.mir.basic_blocks().iter() {
+    for bb in fx.mir.basic_blocks.iter() {
         for stmt in bb.statements.iter() {
             match &stmt.kind {
                 Assign(place_and_rval) => match &place_and_rval.1 {