fix some typos

This commit is contained in:
KaDiWa 2022-12-25 00:43:50 +01:00
parent 7e4f4660eb
commit 7b371d2ad9
No known key found for this signature in database
GPG key ID: 0B52AE391C674CE5
9 changed files with 10 additions and 10 deletions

View file

@ -2626,7 +2626,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
let e = self
.tcx()
.sess
.delay_span_bug(path.span, "path with `Res:Err` but no error emitted");
.delay_span_bug(path.span, "path with `Res::Err` but no error emitted");
self.set_tainted_by_errors(e);
self.tcx().ty_error_with_guaranteed(e)
}