diff --git a/src/librustc/session/config.rs b/src/librustc/session/config.rs index 34df476e5c823..a13901c2363ad 100644 --- a/src/librustc/session/config.rs +++ b/src/librustc/session/config.rs @@ -641,7 +641,7 @@ options! {CodegenOptions, CodegenSetter, basic_codegen_options, remark: Passes = (SomePasses(Vec::new()), parse_passes, "print remarks for these optimization passes (space separated, or \"all\")"), no_stack_check: bool = (false, parse_bool, - "disable checks for stack exhaustion (a memory-safety hazard!)"), + "the --no-stack-check flag is deprecated and does nothing"), debuginfo: Option = (None, parse_opt_uint, "debug info emission level, 0 = no debug info, 1 = line tables only, \ 2 = full debug info with variable and type information"),