Skip to content

Commit 76e5fc8

Browse files
committed
rustc_metadata: remove a redundant #[allow(rustc::untranslatable_diagnostic)]
1 parent 9484cc0 commit 76e5fc8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/rustc_metadata/src/creader.rs

-1
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,6 @@ impl<'a, 'tcx> CrateLoader<'a, 'tcx> {
949949
}
950950
}
951951

952-
#[allow(rustc::untranslatable_diagnostic)] // FIXME: make this translatable
953952
fn report_unused_deps(&mut self, krate: &ast::Crate) {
954953
// Make a point span rather than covering the whole file
955954
let span = krate.spans.inner_span.shrink_to_lo();

0 commit comments

Comments
 (0)