aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/lex/rust-lex.cc
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2023-01-10 22:39:41 +0000
committerGitHub <noreply@github.com>2023-01-10 22:39:41 +0000
commitb6fcee808fd654d2d5c13b87565f1e59cc61a138 (patch)
tree499c036b44ea9eaaf7e882d98365e8d52dffbb88 /gcc/rust/lex/rust-lex.cc
parent3290293e16fa47cf59f0434343c1bf40497ede90 (diff)
parented6718d979e400cb254279e103f239a25ea92c56 (diff)
downloadgcc-b6fcee808fd654d2d5c13b87565f1e59cc61a138.zip
gcc-b6fcee808fd654d2d5c13b87565f1e59cc61a138.tar.gz
gcc-b6fcee808fd654d2d5c13b87565f1e59cc61a138.tar.bz2
Merge #1724
1724: Add support for generics associated type binding r=philberty a=philberty This patch set adds support to specify the associated type via the argument binding syntax. We are still missing general bounds checking so in order to properly add more test cases for bad types we need to implement that first. I have also changed a test case to -fsyntax-only as at the time I always get confused between Generic arguments of foo=i32 and bar: baz only specifies the associated type and the latter adds a bound. Currently we are lacking a way to represent adding a bound in the AST and HIR within generic arguments so I have raised: #1725 and #1726 Fixes #1720 Co-authored-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/rust/lex/rust-lex.cc')
0 files changed, 0 insertions, 0 deletions