]> git.lizzy.rs Git - rust.git/commitdiff
Fix -Z no-analysis
authorSeo Sanghyeon <sanxiyn@gmail.com>
Mon, 5 Jan 2015 09:27:29 +0000 (18:27 +0900)
committerSeo Sanghyeon <sanxiyn@gmail.com>
Mon, 5 Jan 2015 09:27:29 +0000 (18:27 +0900)
src/librustc/session/config.rs

index f9f899401b1754e5bb436e896ee6a805aafdb3ea..1c76eae71870e781505644d582cab034a86b81e5 100644 (file)
@@ -330,7 +330,7 @@ pub fn debugging_opts_map() -> Vec<(&'static str, &'static str, u64)> {
      ("parse-only", "Parse only; do not compile, assemble, or link", PARSE_ONLY),
      ("no-trans", "Run all passes except translation; no output", NO_TRANS),
      ("no-analysis", "Parse and expand the source, but run no analysis and",
-      NO_TRANS),
+      NO_ANALYSIS),
      ("unstable-options", "Adds unstable command line options to rustc interface",
       UNSTABLE_OPTIONS),
      ("print-enum-sizes", "Print the size of enums and their variants", PRINT_ENUM_SIZES),