Review comments
This commit is contained in:
parent
eba10270c6
commit
f6a53b4c69
15 changed files with 34 additions and 31 deletions
|
@ -126,7 +126,7 @@ impl Elaborator<'tcx> {
|
|||
fn elaborate(&mut self, obligation: &PredicateObligation<'tcx>) {
|
||||
let tcx = self.visited.tcx;
|
||||
|
||||
let bound_predicate = obligation.predicate.bound_atom(tcx);
|
||||
let bound_predicate = obligation.predicate.bound_atom();
|
||||
match bound_predicate.skip_binder() {
|
||||
ty::PredicateAtom::Trait(data, _) => {
|
||||
// Get predicates declared on the trait.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue