Skip to content

Commit 7f45211

Browse files
Rollup merge of rust-lang#114073 - ehuss:remove-z-diagnostic-width, r=fee1-dead
Remove -Z diagnostic-width This removes the `-Z diagnostic-width` option since it is ignored and does nothing. `-Z diagnostic-width` was stabilized as `--diagnostic-width` in rust-lang#95635. It is not entirely clear why the `-Z` flag was kept, but in part its final use was removed in rust-lang#102216, but the `-Z` flag itself was not removed.
2 parents 187caee + 2d92f4f commit 7f45211

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/rustc_session/src/options.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1433,8 +1433,6 @@ options! {
14331433
dep_tasks: bool = (false, parse_bool, [UNTRACKED],
14341434
"print tasks that execute and the color their dep node gets (requires debug build) \
14351435
(default: no)"),
1436-
diagnostic_width: Option<usize> = (None, parse_opt_number, [UNTRACKED],
1437-
"set the current output width for diagnostic truncation"),
14381436
dont_buffer_diagnostics: bool = (false, parse_bool, [UNTRACKED],
14391437
"emit diagnostics rather than buffering (breaks NLL error downgrading, sorting) \
14401438
(default: no)"),

0 commit comments

Comments
 (0)