diff --git a/src/bin/main.rs b/src/bin/main.rs index af2dfdfac5b..05a22324d0f 100644 --- a/src/bin/main.rs +++ b/src/bin/main.rs @@ -135,12 +135,6 @@ fn make_opts() -> Options { "Rust edition to use", "[2015|2018|2021|2024]", ); - opts.optopt( - "", - "style-edition", - "The edition of the Style Guide (unstable).", - "[2015|2018|2021|2024]", - ); opts.optopt( "", "color", diff --git a/tests/rustfmt/main.rs b/tests/rustfmt/main.rs index 9a46544b367..ee972d8a6af 100644 --- a/tests/rustfmt/main.rs +++ b/tests/rustfmt/main.rs @@ -140,8 +140,6 @@ fn rustfmt_usage_text() { input file path --edition [2015|2018|2021|2024] Rust edition to use - --style-edition [2015|2018|2021|2024] - The edition of the Style Guide (unstable). --color [always|never|auto] Use colored output (if supported) --print-config [default|minimal|current] PATH @@ -190,8 +188,6 @@ fn rustfmt_nightly_usage_text() { input file path --edition [2015|2018|2021|2024] Rust edition to use - --style-edition [2015|2018|2021|2024] - The edition of the Style Guide (unstable). --color [always|never|auto] Use colored output (if supported) --print-config [default|minimal|current] PATH