diff options
author | John Hodge <tpg@ucc.asn.au> | 2017-09-10 09:01:01 +0800 |
---|---|---|
committer | John Hodge <tpg@ucc.asn.au> | 2017-09-10 09:01:01 +0800 |
commit | 32d747bd0c20c5b8ee0dedd71eea58b0c12cfe50 (patch) | |
tree | 3e4f27bedc5f2fe0f52a27e41eedb5ce32f057a1 /src/hir/from_ast.cpp | |
parent | f75212eed999502f05605ff747ab71185b2269c5 (diff) | |
download | mrust-32d747bd0c20c5b8ee0dedd71eea58b0c12cfe50.tar.gz |
Parse - Store attributes for trait items
Diffstat (limited to 'src/hir/from_ast.cpp')
-rw-r--r-- | src/hir/from_ast.cpp | 3 |
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; |