Fix typo in -Cno-stack-check
deprecation warning · rust-lang/rust@651ff64 (original) (raw)
File tree
1 file changed
lines changed
- compiler/rustc_driver_impl/src
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1133,7 +1133,7 @@ pub fn describe_flag_categories(early_dcx: &EarlyDiagCtxt, matches: &Matches) -> | ||
1133 | 1133 | } |
1134 | 1134 | |
1135 | 1135 | if cg_flags.iter().any(|x |
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"); | |
1137 | 1137 | } |
1138 | 1138 | |
1139 | 1139 | if cg_flags.iter().any(|x |