1
Fork 0

Remove guess_head_span.

This commit is contained in:
Camille GILLOT 2022-07-23 14:42:54 +02:00
parent 36f4f4aa38
commit 6733bc3066
20 changed files with 93 additions and 103 deletions

View file

@ -1933,7 +1933,6 @@ impl<'a, 'tcx> InferCtxtExt<'tcx> for InferCtxt<'a, 'tcx> {
));
let original_span = err.span.primary_span().unwrap();
let original_span = self.tcx.sess.source_map().guess_head_span(original_span);
let mut span = MultiSpan::from_span(original_span);
let message = outer_generator