Rollup merge of #75232 - leijurv:patch-1, r=jonas-schievink

Fix typo "TraitObligatiom" -> "TraitObligation"
This commit is contained in:
Yuki Okushi 2020-08-07 09:35:29 +09:00 committed by GitHub
commit 6f2fa1ef51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -440,7 +440,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
obligation
);
// `previous_stack` stores a `TraitObligatiom`, while `obligation` is
// `previous_stack` stores a `TraitObligation`, while `obligation` is
// a `PredicateObligation`. These are distinct types, so we can't
// use any `Option` combinator method that would force them to be
// the same.