From 6c3e13efd51c45ac8ba2b20a7fec0e8d26f56b56 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Wed, 2 Jul 2025 12:49:45 -0300 Subject: [PATCH] Rustfmt now support use closures on edition 2018 --- rustfmt.toml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rustfmt.toml b/rustfmt.toml index 689e390b990c2..b46e4ffbda103 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -55,8 +55,4 @@ ignore = [ # Code automatically generated and included. "compiler/rustc_codegen_gcc/src/intrinsic/archs.rs", "compiler/rustc_codegen_gcc/example", - - # Rustfmt doesn't support use closures yet - "tests/mir-opt/ergonomic-clones/closure.rs", - "tests/codegen/ergonomic-clones/closure.rs", ]