summaryrefslogtreecommitdiff
path: root/src/hir/path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hir/path.cpp')
-rw-r--r--src/hir/path.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hir/path.cpp b/src/hir/path.cpp
index 1f80204d..73d1b92f 100644
--- a/src/hir/path.cpp
+++ b/src/hir/path.cpp
@@ -90,7 +90,7 @@ namespace HIR {
return os << "<" << *e.type << " /*- " << e.impl_params << "*/>::" << e.item << e.params;
),
(UfcsKnown,
- return os << "<" << *e.type << " as " << e.trait << " /*- " << e.impl_params << "*/>::" << e.item << e.params;
+ return os << "<" << *e.type << " as " << e.trait << ">::" << e.item << e.params;
),
(UfcsUnknown,
return os << "<" << *e.type << " as _>::" << e.item << e.params;
@@ -220,8 +220,7 @@ bool ::HIR::TraitPath::operator==(const ::HIR::TraitPath& x) const
box$( e.type->clone() ),
e.trait.clone(),
e.item,
- e.params.clone(),
- e.impl_params.clone()
+ e.params.clone()
}));
),
(UfcsUnknown,