about summary refs log tree commit diff
path: root/compiler/rustc_session/src/search_paths.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_session/src/search_paths.rs')
-rw-r--r--compiler/rustc_session/src/search_paths.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_session/src/search_paths.rs b/compiler/rustc_session/src/search_paths.rs
index 9b913c76998..32d5e430717 100644
--- a/compiler/rustc_session/src/search_paths.rs
+++ b/compiler/rustc_session/src/search_paths.rs
@@ -61,6 +61,7 @@ impl SearchPath {
             (PathKind::All, path)
         };
         if path.is_empty() {
+            #[allow(rustc::untranslatable_diagnostic)] // FIXME: make this translatable
             early_dcx.early_fatal("empty search path given via `-L`");
         }