diff options
author | John Hodge <tpg@mutabah.net> | 2016-08-27 22:21:56 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-08-27 22:21:56 +0800 |
commit | 03bc080d35b6ee09345f012137dd52d6fa6c5b53 (patch) | |
tree | e95b5669e53ffdf49ef33ff98a463e132669e6e0 /src/ast/crate.hpp | |
parent | 28697d7ef5f7cac8664cc248e6e219177c822eb8 (diff) | |
download | mrust-03bc080d35b6ee09345f012137dd52d6fa6c5b53.tar.gz |
Resolve Use - Include extern crate support
Diffstat (limited to 'src/ast/crate.hpp')
-rw-r--r-- | src/ast/crate.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ast/crate.hpp b/src/ast/crate.hpp index e598c568..fecd01b0 100644 --- a/src/ast/crate.hpp +++ b/src/ast/crate.hpp @@ -56,8 +56,9 @@ public: /// Representation of an imported crate class ExternCrate { - ::HIR::CratePtr m_hir; public: + ::HIR::CratePtr m_hir; + ExternCrate(const ::std::string& path); ExternCrate(const ExternCrate&) = delete; ExternCrate(ExternCrate&&) = default; |