aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorKushal Pal <kushalpal109@gmail.com>2024-01-03 16:02:07 +0530
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-30 12:36:51 +0100
commitf46fdb6399d91d56f095088c8cf0f1fd6d971e25 (patch)
tree6baae6c9dad4ce80c6682db26cd327dfd59ee769 /gcc/c
parent8b7d6adbbb886039f8c6e14a581dcbc9c63ce380 (diff)
downloadgcc-f46fdb6399d91d56f095088c8cf0f1fd6d971e25.zip
gcc-f46fdb6399d91d56f095088c8cf0f1fd6d971e25.tar.gz
gcc-f46fdb6399d91d56f095088c8cf0f1fd6d971e25.tar.bz2
gccrs: Handle `async` functions in traits
Fixes #2785 gcc/rust/ChangeLog: * checks/errors/rust-ast-validation.cc (ASTValidation::visit): Added check for `async` functions inside trait. * parse/rust-parse-impl.h (Parser::parse_trait_item): Added switch-case for ASYNC token. gcc/testsuite/ChangeLog: * rust/compile/issue-2785.rs: New test. Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions