Skip to content

Commit

Permalink
Add missing backtick in ty_error_with_message
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Jul 1, 2020
1 parent 16957bd commit 0d26512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_middle/ty/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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> {
Expand Down

0 comments on commit 0d26512

Please sign in to comment.