Skip to content

Commit 6d8c08a

Browse files
committed
#[allow(rustc::untranslatable_diagnostic)] for now
1 parent 2d573b6 commit 6d8c08a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/rustc_borrowck/src/diagnostics/region_errors.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,8 @@ impl<'a, 'tcx> MirBorrowckCtxt<'a, 'tcx> {
616616
/// LL | fn hello(&self) where Self: 'static {}
617617
/// | ^^^^^^^
618618
/// ```
619+
#[allow(rustc::diagnostic_outside_of_impl)]
620+
#[allow(rustc::untranslatable_diagnostic)]
619621
fn explain_impl_static_obligation(
620622
&self,
621623
diag: &mut Diag<'_>,

0 commit comments

Comments
 (0)