summaryrefslogtreecommitdiff
path: root/src/hir/from_ast.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hir/from_ast.cpp')
-rw-r--r--src/hir/from_ast.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/hir/from_ast.cpp b/src/hir/from_ast.cpp
index 1f5c473b..0f29f9b5 100644
--- a/src/hir/from_ast.cpp
+++ b/src/hir/from_ast.cpp
@@ -897,10 +897,12 @@ namespace {
)
}
+ auto repr = ::HIR::Enum::Repr::Rust;
+ // TODO: Get repr from attributes
+
return ::HIR::Enum {
LowerHIR_GenericParams(f.params(), nullptr),
- // TODO: Get repr from attributes
- ::HIR::Enum::Repr::Rust,
+ repr,
mv$(variants)
};
}