]> git.lizzy.rs Git - rust.git/commitdiff
be specific about what kind of normalization we mean
authorNiko Matsakis <niko@alum.mit.edu>
Tue, 19 Dec 2017 09:28:45 +0000 (04:28 -0500)
committerNiko Matsakis <niko@alum.mit.edu>
Tue, 19 Dec 2017 09:28:45 +0000 (04:28 -0500)
src/librustc_mir/borrow_check/nll/universal_regions.rs

index 64195338aa5e8e28cb5eabf38ead2774e1253cd1..a1e6ea135c68dc2a67759393af378ee0fa5d7276 100644 (file)
@@ -71,12 +71,14 @@ pub struct UniversalRegions<'tcx> {
 
     /// The return type of this function, with all regions replaced by
     /// their universal `RegionVid` equivalents. This type is **NOT
-    /// NORMALIZED**.
+    /// NORMALIZED** (i.e., it contains unnormalized associated type
+    /// projections).
     pub output_ty: Ty<'tcx>,
 
     /// The fully liberated input types of this function, with all
     /// regions replaced by their universal `RegionVid` equivalents.
-    /// This type is **NOT NORMALIZED**.
+    /// This type is **NOT NORMALIZED** (i.e., it contains
+    /// unnormalized associated type projections).
     pub input_tys: &'tcx [Ty<'tcx>],
 
     /// Each RBP `('a, GK)` indicates that `GK: 'a` can be assumed to