Skip to content

Commit 4550f3c

Browse files
committed
#[allow(rustc::untranslatable_diagnostic)] for now
1 parent 67d3cc8 commit 4550f3c

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
@@ -617,6 +617,8 @@ impl<'a, 'tcx> MirBorrowckCtxt<'a, 'tcx> {
617617
/// LL | fn hello(&self) where Self: 'static {}
618618
/// | ^^^^^^^
619619
/// ```
620+
#[allow(rustc::diagnostic_outside_of_impl)]
621+
#[allow(rustc::untranslatable_diagnostic)]
620622
fn explain_impl_static_obligation(
621623
&self,
622624
diag: &mut Diag<'_>,

0 commit comments

Comments
 (0)