]> gcc.gnu.org Git - gcc.git/commit
gccrs: Reject auto traits with super trait
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Mon, 20 Nov 2023 13:04:35 +0000 (14:04 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 30 Jan 2024 11:36:43 +0000 (12:36 +0100)
commitd8c1a756c426c2aba1ef0662cf49bb2760edbb3c
treeb665c311d80c683a6c0ab9dd5382182ce0544a84
parent3e0e74f3e9cee9db52ef40ccacc4bc667a569455
gccrs: Reject auto traits with super trait

Reject auto traits containing a super trait bound during AST validation
pass.

gcc/rust/ChangeLog:

* checks/errors/rust-ast-validation.cc (ASTValidation::visit): Reject
auto traits with super traits.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/checks/errors/rust-ast-validation.cc
This page took 0.055417 seconds and 6 git commands to generate.