Skip to content

Commit

Permalink
rustc_passes: remove a redundant `#[allow(rustc::untranslatable_diagn…
Browse files Browse the repository at this point in the history
…ostic)]`
  • Loading branch information
GrigorenkoPV committed Aug 9, 2024
1 parent 18128d0 commit b0e1175
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compiler/rustc_passes/src/entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit b0e1175

Please sign in to comment.