From 1bf5fa922114746be7742ca3a1f7c7b4e168a6ac 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 6172a2bb3bf97..029fc99669c10 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-llvm/ergonomic-clones/closure.rs", ]