Skip to content

Commit 9d37005

Browse files
authored
Rollup merge of rust-lang#73906 - JohnTitor:missing-bt, r=jonas-schievink
Add missing backtick in `ty_error_with_message`
2 parents 32e74ae + 0d26512 commit 9d37005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_middle/ty/context.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ impl<'tcx> TyCtxt<'tcx> {
11691169
self.ty_error_with_message(DUMMY_SP, "TyKind::Error constructed but no error reported")
11701170
}
11711171

1172-
/// Constructs a `TyKind::Error` type and registers a `delay_span_bug` with the given `msg to
1172+
/// Constructs a `TyKind::Error` type and registers a `delay_span_bug` with the given `msg` to
11731173
/// ensure it gets used.
11741174
#[track_caller]
11751175
pub fn ty_error_with_message<S: Into<MultiSpan>>(self, span: S, msg: &str) -> Ty<'tcx> {

0 commit comments

Comments
 (0)