]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: nr2.0: Remove duplicate self visit
authorOwen Avery <powerboat9.gamer@gmail.com>
Tue, 1 Apr 2025 21:50:32 +0000 (17:50 -0400)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 8 Apr 2025 08:17:15 +0000 (10:17 +0200)
commit2f955bea137ac20963f781a22b16ced584e110ff
tree504742d8d427cc70a0cd6c087dfbc51bba871c16
parent381da0e21dac1579156de9d76d58610b104f5699
gccrs: nr2.0: Remove duplicate self visit

gcc/rust/ChangeLog:

* ast/rust-ast-visitor.cc
(DefaultASTVisitor::visit): Remove explicit visitation of a
function's self parameter, as if it exists it'll be visited as
one of the function parameters.

gcc/testsuite/ChangeLog:

* rust/compile/nr2/exclude: Remove entry.

Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
gcc/rust/ast/rust-ast-visitor.cc
gcc/testsuite/rust/compile/nr2/exclude