summaryrefslogtreecommitdiff
path: root/src/hir/from_ast.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-06-12 23:41:04 +0800
committerJohn Hodge <tpg@mutabah.net>2016-06-12 23:41:04 +0800
commit9f9aca6f08c863d693ee6b63327618fd812f49ed (patch)
tree214b3b933fbc762eb42027f799394ffd168fca8d /src/hir/from_ast.hpp
parent7478d2e92eb3fb13cf36033a2a84a9bec6f20de4 (diff)
downloadmrust-9f9aca6f08c863d693ee6b63327618fd812f49ed.tar.gz
HIR - Trait scoping fixes
Diffstat (limited to 'src/hir/from_ast.hpp')
-rw-r--r--src/hir/from_ast.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hir/from_ast.hpp b/src/hir/from_ast.hpp
index f0795fcf..231f1286 100644
--- a/src/hir/from_ast.hpp
+++ b/src/hir/from_ast.hpp
@@ -5,6 +5,7 @@
extern ::HIR::ExprPtr LowerHIR_ExprNode(const ::AST::ExprNode& e);
extern ::HIR::Path LowerHIR_Path(const Span& sp, const ::AST::Path& path);
extern ::HIR::GenericPath LowerHIR_GenericPath(const Span& sp, const ::AST::Path& path, bool allow_assoc=false);
+extern ::HIR::SimplePath LowerHIR_SimplePath(const Span& sp, const ::AST::Path& path, bool allow_final_generic = false);
extern ::HIR::TypeRef LowerHIR_Type(const ::TypeRef& ty);
extern ::HIR::Pattern LowerHIR_Pattern(const ::AST::Pattern& pat);