Skip to content

Commit 9046f23

Browse files
authored
Rollup merge of #73906 - JohnTitor:missing-bt, r=jonas-schievink
Add missing backtick in `ty_error_with_message`
2 parents 37e812e + 0d26512 commit 9046f23

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
@@ -1170,7 +1170,7 @@ impl<'tcx> TyCtxt<'tcx> {
11701170
self.ty_error_with_message(DUMMY_SP, "TyKind::Error constructed but no error reported")
11711171
}
11721172

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

0 commit comments

Comments
 (0)