Skip to content

Commit 2d411a0

Browse files
committed
fixup span in obligation cause
1 parent e8e3544 commit 2d411a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • compiler/rustc_trait_selection/src

compiler/rustc_trait_selection/src/solve.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ fn try_eagerly_normalize_alias<'a, 'tcx>(
5757
let obligation = Obligation::new(
5858
tcx,
5959
// we ignore the error anyway
60-
ObligationCause::dummy(),
60+
ObligationCause::dummy_with_span(span),
6161
param_env,
6262
ty::PredicateKind::AliasRelate(
6363
alias.to_ty(tcx).into(),

0 commit comments

Comments
 (0)