Add missing backtick in ty_error_with_message
This commit is contained in:
parent
16957bd4d3
commit
0d26512964
1 changed files with 1 additions and 1 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue