diff options
author | Kushal Pal <kushalpal109@gmail.com> | 2023-12-16 20:07:23 +0530 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-30 12:36:50 +0100 |
commit | 81fcf1087ccaa83088aaed8b8be9777e66d2465d (patch) | |
tree | 3391f874b98be6bf07eb497600884f14eb8a110c /gcc/rust/parse/rust-parse-impl.h | |
parent | bffceda8b9a80f4a4cea28b4e42e13ffb07264c7 (diff) | |
download | gcc-81fcf1087ccaa83088aaed8b8be9777e66d2465d.zip gcc-81fcf1087ccaa83088aaed8b8be9777e66d2465d.tar.gz gcc-81fcf1087ccaa83088aaed8b8be9777e66d2465d.tar.bz2 |
gccrs: 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