In some cases, while parsing an outer attribute, the parser would return
an inner attribute.
gcc/rust/ChangeLog:
* parse/rust-parse-impl.h (Parser::parse_outer_attribute): Fix
attribute status.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
auto input = std::move (std::get<1> (values));
auto loc = std::get<2> (values);
auto actual_attribute
- = AST::Attribute (std::move (path), std::move (input), loc, true);
+ = AST::Attribute (std::move (path), std::move (input), loc, false);
if (lexer.peek_token ()->get_id () != RIGHT_SQUARE)
return AST::Attribute::create_empty ();