about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-07-08 08:00:36 +0200
committerGitHub <noreply@github.com>2022-07-08 08:00:36 +0200
commitb36e58a4589706ff790eb25bbd78f40b1d649431 (patch)
tree5dad0374d556f353fb0324988b3bb54f694f4aaa /compiler/rustc_interface/src
parenteba361ae36be41e42fb8fdf138455307e0ad407c (diff)
parent44c1fcc04dad7c59d1af5c7759afd121951e195c (diff)
downloadrust-b36e58a4589706ff790eb25bbd78f40b1d649431.tar.gz
rust-b36e58a4589706ff790eb25bbd78f40b1d649431.zip
Rollup merge of #95635 - davidtwco:terminal-width-stabilization, r=oli-obk
sess: stabilize `--terminal-width` as `--diagnostic-width`

Formerly `-Zterminal-width`, `--terminal-width` allows the user or build
tool to inform rustc of the width of the terminal so that diagnostics
can be truncated.

Pending agreement to stabilize, see tracking issue at #84673.

r? ```@oli-obk```
Diffstat (limited to 'compiler/rustc_interface/src')
-rw-r--r--compiler/rustc_interface/src/tests.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs
index 30a29ed6ed3..81145416437 100644
--- a/compiler/rustc_interface/src/tests.rs
+++ b/compiler/rustc_interface/src/tests.rs
@@ -689,7 +689,6 @@ fn test_debugging_options_tracking_hash() {
     untracked!(span_debug, true);
     untracked!(span_free_formats, true);
     untracked!(temps_dir, Some(String::from("abc")));
-    untracked!(terminal_width, Some(80));
     untracked!(threads, 99);
     untracked!(time, true);
     untracked!(time_llvm_passes, true);