Add missing backtick in ty_error_with_message

This commit is contained in:
Yuki Okushi 2020-07-01 09:33:21 +09:00
parent 16957bd4d3
commit 0d26512964
No known key found for this signature in database
GPG key ID: B0986C85C0E2DAA1

View file

@ -1169,7 +1169,7 @@ impl<'tcx> TyCtxt<'tcx> {
self.ty_error_with_message(DUMMY_SP, "TyKind::Error constructed but no error reported")
}
/// Constructs a `TyKind::Error` type and registers a `delay_span_bug` with the given `msg to
/// Constructs a `TyKind::Error` type and registers a `delay_span_bug` with the given `msg` to
/// ensure it gets used.
#[track_caller]
pub fn ty_error_with_message<S: Into<MultiSpan>>(self, span: S, msg: &str) -> Ty<'tcx> {