We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 37e812e + 0d26512 commit 9046f23Copy full SHA for 9046f23
src/librustc_middle/ty/context.rs
@@ -1170,7 +1170,7 @@ impl<'tcx> TyCtxt<'tcx> {
1170
self.ty_error_with_message(DUMMY_SP, "TyKind::Error constructed but no error reported")
1171
}
1172
1173
- /// 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
1174
/// ensure it gets used.
1175
#[track_caller]
1176
pub fn ty_error_with_message<S: Into<MultiSpan>>(self, span: S, msg: &str) -> Ty<'tcx> {
0 commit comments