Skip to content
Snippets Groups Projects
Commit 6e9dad6a authored by Kushal Pal's avatar Kushal Pal Committed by Arthur Cohen
Browse files

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: default avatarKushal Pal <kushalpal109@gmail.com>
parent ffeb72c4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment