From eb8e9043e227682e6e7db2711091dc74d847e766 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 8 Aug 2018 19:26:38 +0300 Subject: Where clauses --- src/grammar/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/grammar/types.rs') diff --git a/src/grammar/types.rs b/src/grammar/types.rs index c8ced3d28..0d8c6bfba 100644 --- a/src/grammar/types.rs +++ b/src/grammar/types.rs @@ -199,7 +199,7 @@ fn impl_trait_type(p: &mut Parser) { // type B = ::Foo; // type C = self::Foo; // type D = super::Foo; -fn path_type(p: &mut Parser) { +pub(super) fn path_type(p: &mut Parser) { assert!(paths::is_path_start(p)); let m = p.start(); paths::type_path(p); -- cgit v1.2.3