diff options
| author | Pavel Grigorenko <GrigorenkoPV@ya.ru> | 2024-08-09 18:22:41 +0300 |
|---|---|---|
| committer | Pavel Grigorenko <GrigorenkoPV@ya.ru> | 2024-08-10 14:32:56 +0300 |
| commit | fcdb37435af3b7e758f9380ab2565ea58d8460c8 (patch) | |
| tree | f511f40fee0d87acb12d8c4e738d72bf81e4cb17 | |
| parent | 007cc2c23a058efb9c4db5233478f458cfe9ccfe (diff) | |
| download | rust-fcdb37435af3b7e758f9380ab2565ea58d8460c8.tar.gz rust-fcdb37435af3b7e758f9380ab2565ea58d8460c8.zip | |
rustc_passes: remove a redundant `#[allow(rustc::untranslatable_diagnostic)]`
| -rw-r--r-- | compiler/rustc_passes/src/entry.rs | 1 |
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)) |
