Fix typo in `-Cno-stack-check` deprecation warning · rust-lang/rust@651ff64

File tree

1 file changed

lines changed

  • compiler/rustc_driver_impl/src

1 file changed

lines changed

Original file line numberDiff line numberDiff line change

@@ -1133,7 +1133,7 @@ pub fn describe_flag_categories(early_dcx: &EarlyDiagCtxt, matches: &Matches) ->

11331133

}

11341134
11351135

if cg_flags.iter().any(|x| *x == "no-stack-check") {

1136-

early_dcx.early_warn("the --no-stack-check flag is deprecated and does nothing");

1136+

early_dcx.early_warn("the `-Cno-stack-check` flag is deprecated and does nothing");

11371137

}

11381138
11391139

if cg_flags.iter().any(|x| *x == "passes=list") {