From e7f840ec5ae243a6d050a692fd6633769fc147a5 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 13 May 2017 13:43:00 +0800 Subject: Trans Codegen - Fill item path when monomorphising --- src/hir/item_path.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/hir') diff --git a/src/hir/item_path.hpp b/src/hir/item_path.hpp index f0c591af..9f9949e1 100644 --- a/src/hir/item_path.hpp +++ b/src/hir/item_path.hpp @@ -110,7 +110,8 @@ public: else if( x.trait ) { os << "<* as " << *x.trait << ">"; } - else { + else if( x.crate_name ) { + os << "\"" << x.crate_name << "\""; } return os; } -- cgit v1.2.3