]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_mir/build/expr/as_operand.rs
Remove unused parameter from in(_opt)?_scope
[rust.git] / src / librustc_mir / build / expr / as_operand.rs
index e354a2ee8160b47f1f17c40b8561df9eb14e82e4..ed80cb1a16369e6286917c16d0dfe05d2a54031f 100644 (file)
@@ -57,7 +57,7 @@ fn expr_as_operand(
         {
             let source_info = this.source_info(expr.span);
             let region_scope = (region_scope, source_info);
-            return this.in_scope(region_scope, lint_level, block, |this| {
+            return this.in_scope(region_scope, lint_level, |this| {
                 this.as_operand(block, scope, value)
             });
         }