Skip to content

Commit b0e1175

Browse files
committed
rustc_passes: remove a redundant #[allow(rustc::untranslatable_diagnostic)]
1 parent 18128d0 commit b0e1175

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: compiler/rustc_passes/src/entry.rs

-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ fn check_and_search_item(id: ItemId, ctxt: &mut EntryContext<'_>) {
106106
}
107107
}
108108

109-
#[allow(rustc::untranslatable_diagnostic)] // FIXME: make this translatable
110109
fn configure_main(tcx: TyCtxt<'_>, visitor: &EntryContext<'_>) -> Option<(DefId, EntryFnType)> {
111110
if let Some((def_id, _)) = visitor.start_fn {
112111
Some((def_id.to_def_id(), EntryFnType::Start))

0 commit comments

Comments
 (0)