about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDavid Wood <david.wood@huawei.com>2022-04-03 04:53:01 +0100
committerDavid Wood <david.wood@huawei.com>2022-04-05 07:01:03 +0100
commitba718bbeeee95407f73f6c05c75284ff68d10fb6 (patch)
treead40cf5ef32728f3c563a24e15ff35a4c8741002 /src
parent865386e9dcac24966ac09062e910482346cd40f4 (diff)
downloadrust-ba718bbeeee95407f73f6c05c75284ff68d10fb6.tar.gz
rust-ba718bbeeee95407f73f6c05c75284ff68d10fb6.zip
session: opt for enabling directionality markers
Add an option for enabling and disabling Fluent's directionality
isolation markers in output. Disabled by default as these can render in
some terminals and applications.

Signed-off-by: David Wood <david.wood@huawei.com>
Diffstat (limited to 'src')
-rw-r--r--src/driver.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver.rs b/src/driver.rs
index f04535b2bea..bc1b0d74575 100644
--- a/src/driver.rs
+++ b/src/driver.rs
@@ -165,7 +165,7 @@ fn report_clippy_ice(info: &panic::PanicInfo<'_>, bug_report_url: &str) {
     // Separate the output with an empty line
     eprintln!();
 
-    let fallback_bundle = rustc_errors::fallback_fluent_bundle()
+    let fallback_bundle = rustc_errors::fallback_fluent_bundle(false)
         .expect("failed to load fallback fluent bundle");
     let emitter = Box::new(rustc_errors::emitter::EmitterWriter::stderr(
         rustc_errors::ColorConfig::Auto,