Skip to content

Commit 076381d

Browse files
committed
fixup span in obligation cause
1 parent dbe9e70 commit 076381d

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
@@ -52,7 +52,7 @@ fn try_eagerly_normalize_alias<'a, 'tcx>(
5252
let obligation = Obligation::new(
5353
tcx,
5454
// we ignore the error anyway
55-
ObligationCause::dummy(),
55+
ObligationCause::dummy_with_span(span),
5656
param_env,
5757
ty::PredicateKind::AliasRelate(
5858
alias.to_ty(tcx).into(),

0 commit comments

Comments
 (0)