summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-09-03 16:31:49 +0800
committerJohn Hodge <tpg@mutabah.net>2016-09-03 16:31:49 +0800
commit487ef8ce6ba7a1e043fec039062b8099e5708060 (patch)
tree86e2b4e586fb2adce59718f44551d9496732ff38 /src
parentbc0f5eb833290bcb1eb6c0b71409029119cee9d2 (diff)
downloadmrust-487ef8ce6ba7a1e043fec039062b8099e5708060.tar.gz
Resolve - Split enum paths pointing into extern crates
Diffstat (limited to 'src')
-rw-r--r--src/resolve/absolute.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resolve/absolute.cpp b/src/resolve/absolute.cpp
index bb30befc..4c3ab1b5 100644
--- a/src/resolve/absolute.cpp
+++ b/src/resolve/absolute.cpp
@@ -802,6 +802,7 @@ namespace {
}
path.bind( ::AST::PathBinding::make_EnumVar({nullptr, static_cast<unsigned int>(&var - &*e.m_variants.begin()), &e}) );
+ path = split_into_crate(sp, mv$(path), start, crate.m_name);
return;
}
}