summaryrefslogtreecommitdiff
path: root/src/hir_expand
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2019-10-10 08:07:20 +0800
committerJohn Hodge <tpg@ucc.asn.au>2019-10-10 08:07:20 +0800
commit08947889927447a8b02d936bd86637f7d861556f (patch)
tree55e356d11da86e5f75f34f34711e9cdf66823a34 /src/hir_expand
parentb5462cba40269e750cdf8c2d93a4a5ba02f490a8 (diff)
downloadmrust-08947889927447a8b02d936bd86637f7d861556f.tar.gz
HIR Expand Closures - Set source module in Copy impl
Diffstat (limited to 'src/hir_expand')
-rw-r--r--src/hir_expand/closures.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir_expand/closures.cpp b/src/hir_expand/closures.cpp
index 918e30d7..f36f6c30 100644
--- a/src/hir_expand/closures.cpp
+++ b/src/hir_expand/closures.cpp
@@ -844,7 +844,7 @@ namespace {
{},
{},
{},
- /*source module*/::HIR::SimplePath()
+ /*source module*/::HIR::SimplePath(m_resolve.m_crate.m_crate_name, {})
}));
}