Skip to content

Commit 0211233

Browse files
committed
#[allow(rustc::untranslatable_diagnostic)] for now
1 parent 2a75eb8 commit 0211233

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: compiler/rustc_borrowck/src/diagnostics/region_errors.rs

+2
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,8 @@ impl<'a, 'tcx> MirBorrowckCtxt<'a, 'tcx> {
613613
/// LL | fn hello(&self) where Self: 'static {}
614614
/// | ^^^^^^^
615615
/// ```
616+
#[allow(rustc::diagnostic_outside_of_impl)]
617+
#[allow(rustc::untranslatable_diagnostic)]
616618
fn explain_impl_static_obligation(
617619
&self,
618620
diag: &mut DiagnosticBuilder<'_>,

0 commit comments

Comments
 (0)