summaryrefslogtreecommitdiff
path: root/src/librustc/session
diff options
context:
space:
mode:
authorPeter Hall <peterjoel@gmail.com>2019-03-22 11:51:37 +0000
committerPeter Hall <peterjoel@gmail.com>2019-03-23 20:41:57 +0000
commit3eb4eae96d2e400c2a99146491367bffa34ba29e (patch)
tree93cfa8a3f5729435a941695247ea820836ef6e7f /src/librustc/session
parentf166314b88318617e24bb7aadeb86d6662661a0a (diff)
downloadrust-3eb4eae96d2e400c2a99146491367bffa34ba29e.tar.gz
Fixes #59361
Diffstat (limited to 'src/librustc/session')
-rw-r--r--src/librustc/session/config.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/librustc/session/config.rs b/src/librustc/session/config.rs
index 0ae7c10cf56..eb629dc44c1 100644
--- a/src/librustc/session/config.rs
+++ b/src/librustc/session/config.rs
@@ -1706,6 +1706,12 @@ pub fn rustc_short_optgroups() -> Vec<RustcOptGroup> {
"Specify the name of the crate being built",
"NAME",
),
+ opt::opt_s(
+ "",
+ "edition",
+ "Specify which edition of the compiler to use when compiling code.",
+ EDITION_NAME_LIST,
+ ),
opt::multi_s(
"",
"emit",
@@ -1808,12 +1814,6 @@ pub fn rustc_optgroups() -> Vec<RustcOptGroup> {
`expanded,identified` (fully parenthesized, AST nodes with IDs).",
"TYPE",
),
- opt::opt_s(
- "",
- "edition",
- "Specify which edition of the compiler to use when compiling code.",
- EDITION_NAME_LIST,
- ),
opt::multi_s(
"",
"remap-path-prefix",