diff options
author | Peter Hall <peterjoel@gmail.com> | 2019-03-22 11:51:37 +0000 |
---|---|---|
committer | Peter Hall <peterjoel@gmail.com> | 2019-03-23 20:41:57 +0000 |
commit | 3eb4eae96d2e400c2a99146491367bffa34ba29e (patch) | |
tree | 93cfa8a3f5729435a941695247ea820836ef6e7f /src/librustc/session | |
parent | f166314b88318617e24bb7aadeb86d6662661a0a (diff) | |
download | rust-3eb4eae96d2e400c2a99146491367bffa34ba29e.tar.gz |
Fixes #59361
Diffstat (limited to 'src/librustc/session')
-rw-r--r-- | src/librustc/session/config.rs | 12 |
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", |