X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_borrowck%2Fsrc%2Fmember_constraints.rs;h=b5e00f471d26a0d266e021e330cfeb78f56fef1f;hb=b23419b03da767954ad0fb92ac3be729417cf381;hp=b48f9f97daad8d76dc07b541f445206f55fa7e8c;hpb=747f29fbabbf7e230be442e5f5023692d816ab3a;p=rust.git diff --git a/compiler/rustc_borrowck/src/member_constraints.rs b/compiler/rustc_borrowck/src/member_constraints.rs index b48f9f97daa..b5e00f471d2 100644 --- a/compiler/rustc_borrowck/src/member_constraints.rs +++ b/compiler/rustc_borrowck/src/member_constraints.rs @@ -11,6 +11,7 @@ /// Compactly stores a set of `R0 member of [R1...Rn]` constraints, /// indexed by the region `R0`. +#[derive(Debug)] pub(crate) struct MemberConstraintSet<'tcx, R> where R: Copy + Eq, @@ -31,6 +32,7 @@ pub(crate) struct MemberConstraintSet<'tcx, R> } /// Represents a `R0 member of [R1..Rn]` constraint +#[derive(Debug)] pub(crate) struct NllMemberConstraint<'tcx> { next_constraint: Option,