diff options
author | John Hodge <tpg@mutabah.net> | 2016-10-29 13:26:52 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-10-29 13:26:52 +0800 |
commit | f5420b8174f7acf062f4c5d682820019d79cbdaf (patch) | |
tree | d6c6cdb63a0be8b754d618395d0ffa7443eb2352 /src/hir_expand/ufcs_everything.cpp | |
parent | d8fed3a1def1ae667c1471f44b19749a1f88cc42 (diff) | |
download | mrust-f5420b8174f7acf062f4c5d682820019d79cbdaf.tar.gz |
HIR Types - Store array size expr as a shared_ptr to allow cloning
Diffstat (limited to 'src/hir_expand/ufcs_everything.cpp')
-rw-r--r-- | src/hir_expand/ufcs_everything.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir_expand/ufcs_everything.cpp b/src/hir_expand/ufcs_everything.cpp index 9f246f74..daba3e6a 100644 --- a/src/hir_expand/ufcs_everything.cpp +++ b/src/hir_expand/ufcs_everything.cpp @@ -757,7 +757,7 @@ namespace { DEBUG("Array size " << ty); if( e.size ) { ExprVisitor_Mutate ev(m_crate); - ev.visit_node_ptr( e.size ); + ev.visit_node_ptr( *e.size ); } ) else { |