diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-10-24 17:13:13 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 19:13:11 +0100 |
commit | cb9ecb5596e9ca25a63e3cac264d1304de7f573a (patch) | |
tree | 1c906896ca7bf05d1d950261de0d2d574afc53b5 /gcc/rust/Make-lang.in | |
parent | 3fa7df6885920e2ed3d544ef482944e312ecaaf8 (diff) | |
download | gcc-cb9ecb5596e9ca25a63e3cac264d1304de7f573a.zip gcc-cb9ecb5596e9ca25a63e3cac264d1304de7f573a.tar.gz gcc-cb9ecb5596e9ca25a63e3cac264d1304de7f573a.tar.bz2 |
gccrs: Emit an error on associated const without values
Associated const with no value that are not in trait impl are prohibited.
gcc/rust/ChangeLog:
* checks/errors/rust-ast-validation.cc (ASTValidation::check): Launch
check over the whole given crate.
(ASTValidation::visit): Implement visitor for some members of the ast.
* checks/errors/rust-ast-validation.h: Update some prototype according
to implemented visitor functions. Also add a context tracker.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/Make-lang.in')
0 files changed, 0 insertions, 0 deletions