diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2019-06-24 15:21:36 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2019-07-02 12:25:23 -0400 |
| commit | d9f4d2ad1a6af13390f99a8e8bf153e77f40bc12 (patch) | |
| tree | 83ffc33d0faf9a17f497f671b91198d6f49c6012 | |
| parent | 3ba1e19a87ca1be091df894ca288e679b8159d2f (diff) | |
| download | rust-d9f4d2ad1a6af13390f99a8e8bf153e77f40bc12.tar.gz rust-d9f4d2ad1a6af13390f99a8e8bf153e77f40bc12.zip | |
region_constraints: nits
| -rw-r--r-- | src/librustc/infer/region_constraints/mod.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/librustc/infer/region_constraints/mod.rs b/src/librustc/infer/region_constraints/mod.rs index 06365890607..fcb116fce5c 100644 --- a/src/librustc/infer/region_constraints/mod.rs +++ b/src/librustc/infer/region_constraints/mod.rs @@ -153,19 +153,19 @@ impl Constraint<'_> { /// ``` #[derive(Debug, Clone, HashStable)] pub struct MemberConstraint<'tcx> { - /// the def-id of the opaque type causing this constraint: used for error reporting + /// The `DefId` of the opaque type causing this constraint: used for error reporting. pub opaque_type_def_id: DefId, - /// the span where the hidden type was instantiated + /// The span where the hidden type was instantiated. pub definition_span: Span, - /// the hidden type in which `member_region` appears: used for error reporting + /// The hidden type in which `member_region` appears: used for error reporting. pub hidden_ty: Ty<'tcx>, - /// the region R0 + /// The region `R0`. pub member_region: Region<'tcx>, - /// the options O1..On + /// The options `O1..On`. pub choice_regions: Lrc<Vec<Region<'tcx>>>, } |
