gccrs: Fix type param bound parsing with opening scope
commit12650695701ff4bbcc64f2bf0e661480a20d5483
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Mon, 9 Oct 2023 12:46:55 +0000 (9 14:46 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 18:09:12 +0000 (16 19:09 +0100)
tree97e78b2014daa53b3b3c3e523f60e0cd8570b153
parent80199b328cbc7efedf0d88a8cdceccedd1b6c355
gccrs: Fix type param bound parsing with opening scope

The function parsing type param bounds had a problem with scope
resolution opening token.

gcc/rust/ChangeLog:

* parse/rust-parse-impl.h (Parser::parse_type_param_bound): Add missing
case for lifetime switch.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/parse/rust-parse-impl.h