]> git.lizzy.rs Git - rust.git/blobdiff - crates/hir_ty/src/types.rs
Rename TyKind::ForeignType to Foreign
[rust.git] / crates / hir_ty / src / types.rs
index 9853ab3beaa136ffc1c27c6ba210e534fbd9a3ed..bac086318f244ea7a5d538af331d0d411eb7fcbd 100644 (file)
@@ -132,7 +132,7 @@ pub enum TyKind {
     Closure(ClosureId, Substitution),
 
     /// Represents a foreign type declared in external blocks.
-    ForeignType(ForeignDefId),
+    Foreign(ForeignDefId),
 
     /// A pointer to a function.  Written as `fn() -> i32`.
     ///