diff options
Diffstat (limited to 'src/hir/item_path.hpp')
-rw-r--r-- | src/hir/item_path.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |