summaryrefslogtreecommitdiff
path: root/src/hir/from_ast.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2017-09-10 09:01:01 +0800
committerJohn Hodge <tpg@ucc.asn.au>2017-09-10 09:01:01 +0800
commit32d747bd0c20c5b8ee0dedd71eea58b0c12cfe50 (patch)
tree3e4f27bedc5f2fe0f52a27e41eedb5ce32f057a1 /src/hir/from_ast.cpp
parentf75212eed999502f05605ff747ab71185b2269c5 (diff)
downloadmrust-32d747bd0c20c5b8ee0dedd71eea58b0c12cfe50.tar.gz
Parse - Store attributes for trait items
Diffstat (limited to 'src/hir/from_ast.cpp')
-rw-r--r--src/hir/from_ast.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hir/from_ast.cpp b/src/hir/from_ast.cpp
index 3e366d8f..48aa7af4 100644
--- a/src/hir/from_ast.cpp
+++ b/src/hir/from_ast.cpp
@@ -976,6 +976,9 @@ namespace {
(
BUG(item.data.span, "Encountered unexpected item type in trait");
),
+ (None,
+ // Ignore.
+ ),
(Type,
bool is_sized = true;
::std::vector< ::HIR::TraitPath> trait_bounds;