Use fulfillment to check Drop impl compatibility
This commit is contained in:
@@ -444,6 +444,10 @@ pub enum ObligationCauseCode<'tcx> {
|
||||
AscribeUserTypeProvePredicate(Span),
|
||||
|
||||
RustCall,
|
||||
|
||||
/// Obligations to prove that a `std::ops::Drop` impl is not stronger than
|
||||
/// the ADT it's being implemented for.
|
||||
DropImpl,
|
||||
}
|
||||
|
||||
/// The 'location' at which we try to perform HIR-based wf checking.
|
||||
|
||||
Reference in New Issue
Block a user