diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-06-28 14:23:56 +0200 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2023-07-07 13:46:54 +0000 |
commit | 7743aeabab9a2f52922fbf05171e3278f2a72388 (patch) | |
tree | e64a1c9fa9e69cd842547106a53d1c3df8ec4c48 /gcc | |
parent | 0081ef0dadda6e2ee33ee0710a19bf6eb5cb0e6d (diff) | |
download | gcc-7743aeabab9a2f52922fbf05171e3278f2a72388.zip gcc-7743aeabab9a2f52922fbf05171e3278f2a72388.tar.gz gcc-7743aeabab9a2f52922fbf05171e3278f2a72388.tar.bz2 |
collector: Add generic to inherent impl block
Generic in inherent impl block were did not output at all.
gcc/rust/ChangeLog:
* ast/rust-ast-collector.cc (TokenCollector::visit): Output
generic in inherent impl.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/rust/ast/rust-ast-collector.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/ast/rust-ast-collector.cc b/gcc/rust/ast/rust-ast-collector.cc index aad948e..f85d194 100644 --- a/gcc/rust/ast/rust-ast-collector.cc +++ b/gcc/rust/ast/rust-ast-collector.cc @@ -2134,7 +2134,7 @@ TokenCollector::visit (InherentImpl &impl) { visit_items_as_lines (impl.get_outer_attrs ()); push (Rust::Token::make (IMPL, impl.get_locus ())); - // FIXME: Handle generics + visit (impl.get_generic_params ()); visit (impl.get_type ()); |