diff options
Diffstat (limited to 'crates/ra_hir/src/ty.rs')
-rw-r--r-- | crates/ra_hir/src/ty.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_hir/src/ty.rs b/crates/ra_hir/src/ty.rs index 6f24cfad6..ff6030ac4 100644 --- a/crates/ra_hir/src/ty.rs +++ b/crates/ra_hir/src/ty.rs | |||
@@ -21,7 +21,7 @@ use crate::{ | |||
21 | expr::ExprId, | 21 | expr::ExprId, |
22 | generics::{GenericParams, HasGenericParams}, | 22 | generics::{GenericParams, HasGenericParams}, |
23 | util::make_mut_slice, | 23 | util::make_mut_slice, |
24 | Adt, Crate, DefWithBody, Mutability, Name, Trait, TypeAlias, | 24 | Adt, Crate, DefWithBody, FloatTy, IntTy, Mutability, Name, Trait, TypeAlias, Uncertain, |
25 | }; | 25 | }; |
26 | use display::{HirDisplay, HirFormatter}; | 26 | use display::{HirDisplay, HirFormatter}; |
27 | 27 | ||
@@ -47,10 +47,10 @@ pub enum TypeCtor { | |||
47 | Char, | 47 | Char, |
48 | 48 | ||
49 | /// A primitive integer type. For example, `i32`. | 49 | /// A primitive integer type. For example, `i32`. |
50 | Int(primitive::UncertainIntTy), | 50 | Int(Uncertain<IntTy>), |
51 | 51 | ||
52 | /// A primitive floating-point type. For example, `f64`. | 52 | /// A primitive floating-point type. For example, `f64`. |
53 | Float(primitive::UncertainFloatTy), | 53 | Float(Uncertain<FloatTy>), |
54 | 54 | ||
55 | /// Structures, enumerations and unions. | 55 | /// Structures, enumerations and unions. |
56 | Adt(Adt), | 56 | Adt(Adt), |