aboutsummaryrefslogtreecommitdiff
path: root/src/grammar/types.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-08 17:26:38 +0100
committerAleksey Kladov <[email protected]>2018-08-08 17:31:44 +0100
commiteb8e9043e227682e6e7db2711091dc74d847e766 (patch)
tree5174136ad99ea4bd37f01c4c095c2976c6741403 /src/grammar/types.rs
parent8f21afacfc981e93f2ad78cd340e9b6c0e821d92 (diff)
Where clauses
Diffstat (limited to 'src/grammar/types.rs')
-rw-r--r--src/grammar/types.rs2
1 files changed, 1 insertions, 1 deletions
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) {
199// type B = ::Foo; 199// type B = ::Foo;
200// type C = self::Foo; 200// type C = self::Foo;
201// type D = super::Foo; 201// type D = super::Foo;
202fn path_type(p: &mut Parser) { 202pub(super) fn path_type(p: &mut Parser) {
203 assert!(paths::is_path_start(p)); 203 assert!(paths::is_path_start(p));
204 let m = p.start(); 204 let m = p.start();
205 paths::type_path(p); 205 paths::type_path(p);