diff options
author | Kushal Pal <kushalpal109@gmail.com> | 2023-12-16 20:07:23 +0530 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2023-12-27 13:03:38 +0000 |
commit | 7bb5d5c9b2aa79e12147bc4794eb824bcbc05d66 (patch) | |
tree | 9371dee8fbc16d6079346c566de84a14c972cbe1 /gcc/rust/parse/rust-parse-impl.h | |
parent | b2e1131b480166ae385e18ca94c158559b3af241 (diff) | |
download | gcc-7bb5d5c9b2aa79e12147bc4794eb824bcbc05d66.zip gcc-7bb5d5c9b2aa79e12147bc4794eb824bcbc05d66.tar.gz gcc-7bb5d5c9b2aa79e12147bc4794eb824bcbc05d66.tar.bz2 |
Generate error for `async` trait fucntions
Fixes #2767
gcc/rust/ChangeLog:
* checks/errors/rust-ast-validation.cc (ASTValidation::visit):
Added check for `async` function inside trait.
gcc/testsuite/ChangeLog:
* rust/compile/issue-2767.rs: New test.
Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
Diffstat (limited to 'gcc/rust/parse/rust-parse-impl.h')
0 files changed, 0 insertions, 0 deletions