Skip to content

Commit ebf7aba

Browse files
committed
WIP: Fix breakage due to rust-lang/rust#76244
See rust-lang/rust#76244
1 parent 05f98db commit ebf7aba

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2020-09-10
1+
nightly-2020-09-15

src/translate.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,8 @@ impl<'a, 'tcx> TranslationContext<'a, 'tcx> {
464464
self.translate(index_map, &c2),
465465
)
466466
.to_predicate(self.tcx),
467+
// NOTE: Only used for Chalk trait solver
468+
PredicateAtom::TypeWellFormedFromEnv(_) => return None,
467469
})
468470
}
469471

@@ -498,7 +500,6 @@ impl<'a, 'tcx> TranslationContext<'a, 'tcx> {
498500
ParamEnv::new(
499501
self.tcx.intern_predicates(&target_preds),
500502
param_env.reveal(),
501-
Some(orig_def_id),
502503
)
503504
})
504505
}

0 commit comments

Comments
 (0)