aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/util/rust-attributes.cc
diff options
context:
space:
mode:
authorKushal Pal <kushalpal109@gmail.com>2024-01-26 11:50:05 +0530
committerArthur Cohen <arthur.cohen@embecosm.com>2024-02-07 12:40:24 +0100
commit6e9dad6a7943a37aba5b1a0609bb9e46741dd1c8 (patch)
tree3c62ee38a70526e9d31790c42d15b8645dbc45b7 /gcc/rust/util/rust-attributes.cc
parentffeb72c41fd0efa71f0a1995ea7146323f640b15 (diff)
downloadgcc-6e9dad6a7943a37aba5b1a0609bb9e46741dd1c8.zip
gcc-6e9dad6a7943a37aba5b1a0609bb9e46741dd1c8.tar.gz
gcc-6e9dad6a7943a37aba5b1a0609bb9e46741dd1c8.tar.bz2
gccrs: Parse trait functions as `AST::Function`.
To use AST::Function for trait functions, we can parse trait functions using available parse_function(). gcc/rust/ChangeLog: * parse/rust-parse-impl.h (Parser::parse_trait_item): Use parse_function() to parse trait functions. Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
Diffstat (limited to 'gcc/rust/util/rust-attributes.cc')
0 files changed, 0 insertions, 0 deletions