We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 008431c commit 2711434Copy full SHA for 2711434
lib/Parse/ParseDecl.cpp
@@ -5161,8 +5161,8 @@ ParserResult<LifetimeEntry> Parser::parseLifetimeEntry(SourceLoc loc) {
5161
status.setIsParseError();
5162
return status;
5163
}
5164
- // consume the l_paren
5165
- auto lParenLoc = consumeToken();
+
+ auto lParenLoc = consumeAttributeLParen(); // consume the l_paren
5166
5167
std::optional<LifetimeDescriptor> targetDescriptor;
5168
if (Tok.isAny(tok::identifier, tok::integer_literal, tok::kw_self) &&
0 commit comments