summaryrefslogtreecommitdiff
path: root/src/resolve
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/resolve
parentf75212eed999502f05605ff747ab71185b2269c5 (diff)
downloadmrust-32d747bd0c20c5b8ee0dedd71eea58b0c12cfe50.tar.gz
Parse - Store attributes for trait items
Diffstat (limited to 'src/resolve')
-rw-r--r--src/resolve/use.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resolve/use.cpp b/src/resolve/use.cpp
index ca067304..2b02fc0d 100644
--- a/src/resolve/use.cpp
+++ b/src/resolve/use.cpp
@@ -231,6 +231,9 @@ void Resolve_Use_Mod(const ::AST::Crate& crate, ::AST::Module& mod, ::AST::Path
(
BUG(Span(), "Unexpected item in trait - " << ti.data.tag_str());
),
+ (None,
+ // Deleted, ignore
+ ),
(Type,
),
(Function,