Match end user facing unmatched backticks in compiler/

This commit is contained in:
est31 2023-03-03 08:38:07 +01:00
parent 13471d3b20
commit ef658907a5
13 changed files with 19 additions and 19 deletions

View file

@ -949,7 +949,7 @@ impl<'a, 'tcx> MirBorrowckCtxt<'a, 'tcx> {
.push_span_label(*span, "this has an implicit `'static` lifetime requirement");
multi_span.push_span_label(
ident.span,
"calling this method introduces the `impl`'s 'static` requirement",
"calling this method introduces the `impl`'s `'static` requirement",
);
err.subdiagnostic(RequireStaticErr::UsedImpl { multi_span });
err.span_suggestion_verbose(