Skip to content

Commit

Permalink
Rollup merge of rust-lang#73906 - JohnTitor:missing-bt, r=jonas-schie…
Browse files Browse the repository at this point in the history
…vink

Add missing backtick in `ty_error_with_message`
  • Loading branch information
Dylan-DPC committed Jul 1, 2020
2 parents 32e74ae + 0d26512 commit 9d37005
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 9d37005

Please sign in to comment.