]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/traits/mod.rs
Rollup merge of #64702 - sinkuu:deps, r=jonas-schievink
[rust.git] / src / librustc / traits / mod.rs
index 27e4d1237c252b997d124e0c321a21ab99fe5da9..1123422ad6008244666bad70a1d8ee24ea7380a6 100644 (file)
@@ -176,6 +176,9 @@ pub enum ObligationCauseCode<'tcx> {
     /// also implement all supertraits of `X`.
     ItemObligation(DefId),
 
+    /// Like `ItemObligation`, but with extra detail on the source of the obligation.
+    BindingObligation(DefId, Span),
+
     /// A type like `&'a T` is WF only if `T: 'a`.
     ReferenceOutlivesReferent(Ty<'tcx>),