diff options
author | Philip Herron <herron.philip@googlemail.com> | 2023-03-29 14:24:12 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:28:42 +0100 |
commit | 299a2459663eeee17adebb4de9aba44e7014d775 (patch) | |
tree | f9a632d6a940d07c13898fc676b5ea231265b9b7 /gcc/rust/ast/rust-ast-dump.h | |
parent | 048098d44462aa79d092ed23be5bffb4f77b1874 (diff) | |
download | gcc-299a2459663eeee17adebb4de9aba44e7014d775.zip gcc-299a2459663eeee17adebb4de9aba44e7014d775.tar.gz gcc-299a2459663eeee17adebb4de9aba44e7014d775.tar.bz2 |
gccrs: add missing name resolution to self params with specified types
In rust it is possible to write method where you explicitly specify the
type of a self param. It does not however allow for you to use reference
destructuring in this senario.
gcc/rust/ChangeLog:
* resolve/rust-ast-resolve-item.cc
(ResolveTraitItems::visit): add name resolution self param
(ResolveItem::visit): likewise
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/rust/ast/rust-ast-dump.h')
0 files changed, 0 insertions, 0 deletions