diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-02-23 12:26:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-23 12:26:43 +0100 |
| commit | 86ee06a6ab51a5d0a1dc0e2a160b554003bdf6b3 (patch) | |
| tree | bb969b88bbb7e9a70c1affb1bdcc64c3dace17e4 | |
| parent | 40afbdd148bc37f8bee6e7bd333645004f68036f (diff) | |
| parent | dcd93bc5b49566b55e2219950ae0ef3c0f4d986a (diff) | |
| download | rust-86ee06a6ab51a5d0a1dc0e2a160b554003bdf6b3.tar.gz rust-86ee06a6ab51a5d0a1dc0e2a160b554003bdf6b3.zip | |
Rollup merge of #94253 - bjorn3:xpy-fmt-2021, r=Mark-Simulacrum
Use 2021 edition in ./x.py fmt
| -rw-r--r-- | src/bootstrap/format.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/format.rs b/src/bootstrap/format.rs index 2408344487b..30fe6a7a446 100644 --- a/src/bootstrap/format.rs +++ b/src/bootstrap/format.rs @@ -13,7 +13,7 @@ fn rustfmt(src: &Path, rustfmt: &Path, paths: &[PathBuf], check: bool) -> impl F // avoid the submodule config paths from coming into play, // we only allow a single global config for the workspace for now cmd.arg("--config-path").arg(&src.canonicalize().unwrap()); - cmd.arg("--edition").arg("2018"); + cmd.arg("--edition").arg("2021"); cmd.arg("--unstable-features"); cmd.arg("--skip-children"); if check { |
