diff options
Diffstat (limited to 'crates/ra_hir/src/ty.rs')
-rw-r--r-- | crates/ra_hir/src/ty.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/ra_hir/src/ty.rs b/crates/ra_hir/src/ty.rs index d9a50b230..d2f92a1f2 100644 --- a/crates/ra_hir/src/ty.rs +++ b/crates/ra_hir/src/ty.rs | |||
@@ -22,6 +22,7 @@ use display::{HirDisplay, HirFormatter}; | |||
22 | pub(crate) use lower::{TypableDef, type_for_def, type_for_field, callable_item_sig, generic_predicates, generic_defaults}; | 22 | pub(crate) use lower::{TypableDef, type_for_def, type_for_field, callable_item_sig, generic_predicates, generic_defaults}; |
23 | pub(crate) use infer::{infer_query, InferenceResult, InferTy}; | 23 | pub(crate) use infer::{infer_query, InferenceResult, InferTy}; |
24 | pub use lower::CallableDef; | 24 | pub use lower::CallableDef; |
25 | pub(crate) use autoderef::autoderef; | ||
25 | 26 | ||
26 | /// A type constructor or type name: this might be something like the primitive | 27 | /// A type constructor or type name: this might be something like the primitive |
27 | /// type `bool`, a struct like `Vec`, or things like function pointers or | 28 | /// type `bool`, a struct like `Vec`, or things like function pointers or |
@@ -225,8 +226,8 @@ impl Deref for Substs { | |||
225 | #[derive(Clone, PartialEq, Eq, Debug, Hash)] | 226 | #[derive(Clone, PartialEq, Eq, Debug, Hash)] |
226 | pub struct TraitRef { | 227 | pub struct TraitRef { |
227 | /// FIXME name? | 228 | /// FIXME name? |
228 | trait_: Trait, | 229 | pub trait_: Trait, |
229 | substs: Substs, | 230 | pub substs: Substs, |
230 | } | 231 | } |
231 | 232 | ||
232 | impl TraitRef { | 233 | impl TraitRef { |