diff options
author | Philip Herron <herron.philip@googlemail.com> | 2023-03-29 14:24:12 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-03-30 16:52:24 +0000 |
commit | 3cc5c9360c9454f7aa20717b6cfcc7085836233b (patch) | |
tree | 2399888e30b72e0065f94c514bcfc8ac825a3a18 /gcc/rust/ast/rust-ast-tokenstream.cc | |
parent | efc3154162fff62d71859ef7d30a5a1ff1a4ba53 (diff) | |
download | gcc-3cc5c9360c9454f7aa20717b6cfcc7085836233b.zip gcc-3cc5c9360c9454f7aa20717b6cfcc7085836233b.tar.gz gcc-3cc5c9360c9454f7aa20717b6cfcc7085836233b.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-tokenstream.cc')
0 files changed, 0 insertions, 0 deletions