summaryrefslogtreecommitdiff
path: root/src/trans/enumerate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/trans/enumerate.cpp')
-rw-r--r--src/trans/enumerate.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/trans/enumerate.cpp b/src/trans/enumerate.cpp
index 06ca92a3..bb6d6e6f 100644
--- a/src/trans/enumerate.cpp
+++ b/src/trans/enumerate.cpp
@@ -1393,6 +1393,7 @@ void Trans_Enumerate_FillFrom_Path(EnumState& state, const ::HIR::Path& path, co
{
const auto& pe = path_mono.m_data.as_UfcsKnown();
ASSERT_BUG(sp, pe.item == "clone", "");
+ // TODO: If this is !Copy, then we need to ensure that the inner type's clone impls are also available
// Add this type to a list of types that will have the impl auto-generated
state.rv.auto_clone_impls.insert( pe.type->clone() );
}