mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-26 13:01:27 +03:00
Rustfmt now support use closures on edition 2018
This commit is contained in:
@@ -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",
|
||||
]
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
//@ compile-flags: -C no-prepopulate-passes -Copt-level=0 -Zmir-opt-level=0
|
||||
|
||||
#![crate_type = "lib"]
|
||||
|
||||
#![feature(ergonomic_clones)]
|
||||
#![allow(incomplete_features)]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user