From 537285e707a56a95ac4001ca5637ff9f035a6989 Mon Sep 17 00:00:00 2001 From: Seo Sanghyeon Date: Mon, 5 Jan 2015 18:27:29 +0900 Subject: [PATCH] Fix -Z no-analysis --- src/librustc/session/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/session/config.rs b/src/librustc/session/config.rs index f9f899401b1..1c76eae7187 100644 --- a/src/librustc/session/config.rs +++ b/src/librustc/session/config.rs @@ -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),