Ensure that negative auto impls are always applicable
This commit is contained in:
parent
fd17deacce
commit
3d62b279dd
19 changed files with 275 additions and 107 deletions
|
@ -2695,7 +2695,7 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> {
|
|||
| ObligationCauseCode::LetElse
|
||||
| ObligationCauseCode::BinOp { .. }
|
||||
| ObligationCauseCode::AscribeUserTypeProvePredicate(..)
|
||||
| ObligationCauseCode::DropImpl
|
||||
| ObligationCauseCode::AlwaysApplicableImpl
|
||||
| ObligationCauseCode::ConstParam(_)
|
||||
| ObligationCauseCode::ReferenceOutlivesReferent(..)
|
||||
| ObligationCauseCode::ObjectTypeBound(..) => {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue