Further silence ?
errors
This commit is contained in:
parent
caf0c1bb1c
commit
81a3b90afd
1 changed files with 3 additions and 1 deletions
|
@ -811,7 +811,9 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
|
|||
match lang_item {
|
||||
hir::LangItem::FuturePoll => ObligationCauseCode::AwaitableExpr,
|
||||
hir::LangItem::IntoIterIntoIter => ObligationCauseCode::ForLoopIterator,
|
||||
hir::LangItem::TryTraitBranch => ObligationCauseCode::QuestionMark,
|
||||
hir::LangItem::TryTraitFromResidual | hir::LangItem::TryTraitBranch => {
|
||||
ObligationCauseCode::QuestionMark
|
||||
}
|
||||
_ => traits::ItemObligation(def_id),
|
||||
},
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue