about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPavel Grigorenko <GrigorenkoPV@ya.ru>2024-08-09 18:22:41 +0300
committerPavel Grigorenko <GrigorenkoPV@ya.ru>2024-08-10 14:32:56 +0300
commitfcdb37435af3b7e758f9380ab2565ea58d8460c8 (patch)
treef511f40fee0d87acb12d8c4e738d72bf81e4cb17
parent007cc2c23a058efb9c4db5233478f458cfe9ccfe (diff)
downloadrust-fcdb37435af3b7e758f9380ab2565ea58d8460c8.tar.gz
rust-fcdb37435af3b7e758f9380ab2565ea58d8460c8.zip
rustc_passes: remove a redundant `#[allow(rustc::untranslatable_diagnostic)]`
-rw-r--r--compiler/rustc_passes/src/entry.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_passes/src/entry.rs b/compiler/rustc_passes/src/entry.rs
index 48f55d4c3a0..ecb345bb51a 100644
--- a/compiler/rustc_passes/src/entry.rs
+++ b/compiler/rustc_passes/src/entry.rs
@@ -106,7 +106,6 @@ fn check_and_search_item(id: ItemId, ctxt: &mut EntryContext<'_>) {
     }
 }
 
-#[allow(rustc::untranslatable_diagnostic)] // FIXME: make this translatable
 fn configure_main(tcx: TyCtxt<'_>, visitor: &EntryContext<'_>) -> Option<(DefId, EntryFnType)> {
     if let Some((def_id, _)) = visitor.start_fn {
         Some((def_id.to_def_id(), EntryFnType::Start))