diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-11-20 13:43:48 +0100 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2023-11-21 11:15:44 +0000 |
commit | 0437eb7efeec3f3251ae061b1c4915ea644b3ef0 (patch) | |
tree | b7bb19402e623723c88f178925ca1c295c76d6ce /gcc/asan.h | |
parent | 5f0e77ad4623bc5450808367d902836b7257066b (diff) | |
download | gcc-0437eb7efeec3f3251ae061b1c4915ea644b3ef0.zip gcc-0437eb7efeec3f3251ae061b1c4915ea644b3ef0.tar.gz gcc-0437eb7efeec3f3251ae061b1c4915ea644b3ef0.tar.bz2 |
Reject auto traits with generic parameters
Generic parameters are not allowed on auto traits, the compiler should
emit an error.
gcc/rust/ChangeLog:
* checks/errors/rust-ast-validation.cc (ASTValidation::visit): Add
check for generics on auto traits.
* checks/errors/rust-ast-validation.h: Add visit function prototype.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/asan.h')
0 files changed, 0 insertions, 0 deletions