]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #54850 - mcr431:fix-54707-trait-function-from-macro, r=nikomatsakis
authorbors <bors@rust-lang.org>
Thu, 11 Oct 2018 09:19:23 +0000 (09:19 +0000)
committerbors <bors@rust-lang.org>
Thu, 11 Oct 2018 09:19:23 +0000 (09:19 +0000)
Fix #54707 - parse_trait_item_ now handles interpolated blocks as function body decls

Fix #54707 - parse_trait_item_ now handles interpolated blocks as function body decls

Previously parsing trait items only handled opening brace token and semicolon, I added a branch to the match statement that will also handle interpolated blocks.

1  2 
src/libsyntax/parse/parser.rs

Simple merge