summaryrefslogtreecommitdiff
path: root/src/hir/from_ast.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-11-11 08:53:28 +0800
committerJohn Hodge <tpg@mutabah.net>2016-11-11 08:53:28 +0800
commita64152923668cf111618ea42e369bbb49296ae8c (patch)
treec7ee0090390255773ecc3686782cdec15e878cbd /src/hir/from_ast.cpp
parent17a420e04de4672fbce0989f2715f94da605078c (diff)
downloadmrust-a64152923668cf111618ea42e369bbb49296ae8c.tar.gz
HIR - Tweak ErasedType for implementation
Diffstat (limited to 'src/hir/from_ast.cpp')
-rw-r--r--src/hir/from_ast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir/from_ast.cpp b/src/hir/from_ast.cpp
index 78f6b683..af5e6118 100644
--- a/src/hir/from_ast.cpp
+++ b/src/hir/from_ast.cpp
@@ -749,7 +749,7 @@
}
// Leave `m_origin` until the bind pass
return ::HIR::TypeRef( ::HIR::TypeRef::Data::make_ErasedType(::HIR::TypeRef::Data::Data_ErasedType {
- ::HIR::Path(::HIR::SimplePath()),
+ ::HIR::Path(::HIR::SimplePath()), 0,
mv$(traits),
::HIR::LifetimeRef() // TODO: Lifetime ref
} ) );