gccrs: rust: add bound parsing in parse_generic_arg.
commitef792b9658d6bde0001d7340b10d2d3193ecbc09
authormxlol233 <mxlol233@outlook.com>
Wed, 4 Jan 2023 13:21:59 +0000 (4 21:21 +0800)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 6 Apr 2023 08:47:16 +0000 (6 10:47 +0200)
tree54a19bae05051089fda9bd9c21ded8c15412453e
parentd9e05700ac3085f29e95d53b3ec59c22adbc7c71
gccrs: rust: add bound parsing in parse_generic_arg.

gcc/rust/ChangeLog:

* parse/rust-parse-impl.h (Parser::parse_generic_arg): Add proper bound parsing.

gcc/testsuite/ChangeLog:

* rust/compile/bounds.rs: New test.

Signed-off-by: Xiao Ma <mxlol233@outlook.com>
gcc/rust/parse/rust-parse-impl.h
gcc/testsuite/rust/compile/bounds.rs [new file with mode: 0644]