summaryrefslogtreecommitdiff
path: root/src/hir/pattern.hpp
diff options
context:
space:
mode:
authorJohn Hodge (bugs) <tpg@mutabah.net>2017-02-25 22:24:40 +0800
committerJohn Hodge (bugs) <tpg@mutabah.net>2017-02-25 22:24:40 +0800
commit03addc877bab648ccde022edec29f5b051ce7cb9 (patch)
tree51089cf2abbda1d48a7105da1cb18ec84f2f4590 /src/hir/pattern.hpp
parent12c012c69235fd90c855881f2c07c91dbb052635 (diff)
downloadmrust-03addc877bab648ccde022edec29f5b051ce7cb9.tar.gz
Add visual studio project files, little tweaks to codebase to allow compiling on visual studio (not complete)
Diffstat (limited to 'src/hir/pattern.hpp')
-rw-r--r--src/hir/pattern.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hir/pattern.hpp b/src/hir/pattern.hpp
index 51e20c5c..4c38b150 100644
--- a/src/hir/pattern.hpp
+++ b/src/hir/pattern.hpp
@@ -52,11 +52,11 @@ struct Pattern
{
TAGGED_UNION(Value, String,
(Integer, struct {
- enum ::HIR::CoreType type; // Str == _
+ ::HIR::CoreType type; // Str == _
uint64_t value; // Signed numbers are encoded as 2's complement
}),
(Float, struct {
- enum ::HIR::CoreType type; // Str == _
+ ::HIR::CoreType type; // Str == _
double value;
}),
(String, ::std::string),