rustc_metadata: remove a redundant #[allow(rustc::untranslatable_diagnostic)]
This commit is contained in:
parent
2babab6e43
commit
d5486360ae
@ -949,7 +949,6 @@ impl<'a, 'tcx> CrateLoader<'a, 'tcx> {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(rustc::untranslatable_diagnostic)] // FIXME: make this translatable
|
||||
fn report_unused_deps(&mut self, krate: &ast::Crate) {
|
||||
// Make a point span rather than covering the whole file
|
||||
let span = krate.spans.inner_span.shrink_to_lo();
|
||||
|
Loading…
x
Reference in New Issue
Block a user