rebase
This commit is contained in:
parent
e14b34c386
commit
15c1c06522
10 changed files with 36 additions and 82 deletions
|
@ -2578,11 +2578,7 @@ impl<'o, 'tcx> TraitObligationStackList<'o, 'tcx> {
|
|||
}
|
||||
|
||||
fn depth(&self) -> usize {
|
||||
if let Some(head) = self.head {
|
||||
head.depth
|
||||
} else {
|
||||
0
|
||||
}
|
||||
if let Some(head) = self.head { head.depth } else { 0 }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue