diff options
author | Florian Diebold <[email protected]> | 2019-08-07 21:06:09 +0100 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2019-08-12 20:43:00 +0100 |
commit | 6265497523469990ce39e6817423c35a17055a54 (patch) | |
tree | e50d81f36127412fa4238d2a71637358bc2d1b5f /crates/ra_hir/src/ty/lower.rs | |
parent | 22724f37f3ae73983bf700d10d80a8dbd4fa4073 (diff) |
Normalize associated types during inference
Diffstat (limited to 'crates/ra_hir/src/ty/lower.rs')
-rw-r--r-- | crates/ra_hir/src/ty/lower.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/crates/ra_hir/src/ty/lower.rs b/crates/ra_hir/src/ty/lower.rs index 24ec77fcf..debedcbb8 100644 --- a/crates/ra_hir/src/ty/lower.rs +++ b/crates/ra_hir/src/ty/lower.rs | |||
@@ -117,11 +117,6 @@ impl Ty { | |||
117 | return Ty::Unknown; | 117 | return Ty::Unknown; |
118 | } | 118 | } |
119 | }; | 119 | }; |
120 | eprintln!( | ||
121 | "assoc ty: {:?}, parameters: {:?}", | ||
122 | associated_ty.name(db), | ||
123 | trait_ref.substs | ||
124 | ); | ||
125 | // FIXME handle type parameters on the segment | 120 | // FIXME handle type parameters on the segment |
126 | Ty::Projection(ProjectionTy { associated_ty, parameters: trait_ref.substs }) | 121 | Ty::Projection(ProjectionTy { associated_ty, parameters: trait_ref.substs }) |
127 | } else { | 122 | } else { |