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