1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
pub mod canonical;
pub mod unify_key;
use crate::ty::Region;
use crate::ty::{OpaqueTypeKey, Ty};
use rustc_data_structures::sync::Lrc;
use rustc_span::Span;
#[derive(Debug, Clone, HashStable, TypeFoldable, TypeVisitable, Lift)]
pub struct MemberConstraint<'tcx> {
pub key: OpaqueTypeKey<'tcx>,
pub definition_span: Span,
pub hidden_ty: Ty<'tcx>,
pub member_region: Region<'tcx>,
pub choice_regions: Lrc<Vec<Region<'tcx>>>,
}