Skip to content

Commit

Permalink
WIP: Fix breakage due to rust-lang/rust#76244
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanewok committed Nov 18, 2020
1 parent 05f98db commit ebf7aba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2020-09-10
nightly-2020-09-15
3 changes: 2 additions & 1 deletion src/translate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,8 @@ impl<'a, 'tcx> TranslationContext<'a, 'tcx> {
self.translate(index_map, &c2),
)
.to_predicate(self.tcx),
// NOTE: Only used for Chalk trait solver
PredicateAtom::TypeWellFormedFromEnv(_) => return None,
})
}

Expand Down Expand Up @@ -498,7 +500,6 @@ impl<'a, 'tcx> TranslationContext<'a, 'tcx> {
ParamEnv::new(
self.tcx.intern_predicates(&target_preds),
param_env.reveal(),
Some(orig_def_id),
)
})
}
Expand Down

0 comments on commit ebf7aba

Please sign in to comment.