rustc_passes: remove a redundant #[allow(rustc::untranslatable_diagnostic)]
This commit is contained in:
parent
007cc2c23a
commit
fcdb37435a
1 changed files with 0 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue