session: output-width -> diagnostic-width
Rename the `--output-width` flag to `--diagnostic-width` as this appears to be the preferred name within the compiler team. Signed-off-by: David Wood <david.wood@huawei.com>
This commit is contained in:
@@ -1162,7 +1162,7 @@ fn default_emitter(
|
||||
fallback_bundle,
|
||||
short,
|
||||
sopts.debugging_opts.teach,
|
||||
sopts.output_width,
|
||||
sopts.diagnostic_width,
|
||||
macro_backtrace,
|
||||
),
|
||||
Some(dst) => EmitterWriter::new(
|
||||
@@ -1173,7 +1173,7 @@ fn default_emitter(
|
||||
short,
|
||||
false, // no teach messages when writing to a buffer
|
||||
false, // no colors when writing to a buffer
|
||||
None, // no terminal width
|
||||
None, // no diagnostic width
|
||||
macro_backtrace,
|
||||
),
|
||||
};
|
||||
@@ -1188,7 +1188,7 @@ fn default_emitter(
|
||||
fallback_bundle,
|
||||
pretty,
|
||||
json_rendered,
|
||||
sopts.output_width,
|
||||
sopts.diagnostic_width,
|
||||
macro_backtrace,
|
||||
)
|
||||
.ui_testing(sopts.debugging_opts.ui_testing),
|
||||
@@ -1202,7 +1202,7 @@ fn default_emitter(
|
||||
fallback_bundle,
|
||||
pretty,
|
||||
json_rendered,
|
||||
sopts.output_width,
|
||||
sopts.diagnostic_width,
|
||||
macro_backtrace,
|
||||
)
|
||||
.ui_testing(sopts.debugging_opts.ui_testing),
|
||||
|
||||
Reference in New Issue
Block a user