From 32d747bd0c20c5b8ee0dedd71eea58b0c12cfe50 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 10 Sep 2017 09:01:01 +0800 Subject: Parse - Store attributes for trait items --- src/resolve/use.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/resolve/use.cpp') 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, -- cgit v1.2.3