]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/ty/sty.rs
Distinguish between placeholder kinds
[rust.git] / src / librustc / ty / sty.rs
index bd3a34cae90f4330c4aaf2cfa8c5bfe245dd1d5c..5c01f1cc3e4d78eec677d3174f32f232397e0ba7 100644 (file)
@@ -1165,7 +1165,7 @@ pub enum RegionKind {
 
     /// A placeholder region - basically the higher-ranked version of ReFree.
     /// Should not exist after typeck.
-    RePlaceholder(ty::Placeholder),
+    RePlaceholder(ty::PlaceholderRegion),
 
     /// Empty lifetime is for data that is never accessed.
     /// Bottom in the region lattice. We treat ReEmpty somewhat