diff options
author | Florian Diebold <[email protected]> | 2019-03-14 21:03:39 +0000 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2019-03-16 15:36:59 +0000 |
commit | c5ee60e05b1fafe20f56b21cfab30e7b80cb9d42 (patch) | |
tree | 9a6e1f6aeb348ac5c6c5e0f89cd791a9430550f2 /crates/ra_hir/src/lib.rs | |
parent | eb4d6cf25f9ba886f4aa8ee46149af2807baae7f (diff) |
Replace Display by a pretty printing trait for Ty
This allows removing the names from Adt and FnDef (and more later), as a first
step towards aligning more with chalk's Ty :)
Diffstat (limited to 'crates/ra_hir/src/lib.rs')
-rw-r--r-- | crates/ra_hir/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/lib.rs b/crates/ra_hir/src/lib.rs index ac5f33079..4508a873e 100644 --- a/crates/ra_hir/src/lib.rs +++ b/crates/ra_hir/src/lib.rs | |||
@@ -56,7 +56,7 @@ pub use self::{ | |||
56 | ids::{HirFileId, MacroCallId, MacroCallLoc, HirInterner}, | 56 | ids::{HirFileId, MacroCallId, MacroCallLoc, HirInterner}, |
57 | macros::{MacroDef, MacroInput, MacroExpansion}, | 57 | macros::{MacroDef, MacroInput, MacroExpansion}, |
58 | nameres::{ItemMap, PerNs, Namespace}, | 58 | nameres::{ItemMap, PerNs, Namespace}, |
59 | ty::{Ty, Substs}, | 59 | ty::{Ty, Substs, display::HirDisplay}, |
60 | impl_block::{ImplBlock, ImplItem}, | 60 | impl_block::{ImplBlock, ImplItem}, |
61 | docs::{Docs, Documentation}, | 61 | docs::{Docs, Documentation}, |
62 | adt::AdtDef, | 62 | adt::AdtDef, |