aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser/src/lib.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-12-19 15:27:45 +0000
committerGitHub <[email protected]>2019-12-19 15:27:45 +0000
commit1e32412e28d6668af5c6fe85b4fc921fb1de9a98 (patch)
treeb82af260fc89c4de8a9de300bc9a61e272a1329f /crates/ra_parser/src/lib.rs
parente17dcc45a679c025e79639bd2d22c3b0f20953f9 (diff)
parent6edc54a1e6a48f6fe3191c549befe91674342d9a (diff)
Merge #2596
2596: Refactor macro tests r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_parser/src/lib.rs')
-rw-r--r--crates/ra_parser/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_parser/src/lib.rs b/crates/ra_parser/src/lib.rs
index 45241e566..65134277e 100644
--- a/crates/ra_parser/src/lib.rs
+++ b/crates/ra_parser/src/lib.rs
@@ -83,6 +83,7 @@ pub fn parse(token_source: &mut dyn TokenSource, tree_sink: &mut dyn TreeSink) {
83 parse_from_tokens(token_source, tree_sink, grammar::root); 83 parse_from_tokens(token_source, tree_sink, grammar::root);
84} 84}
85 85
86#[derive(Clone, Copy)]
86pub enum FragmentKind { 87pub enum FragmentKind {
87 Path, 88 Path,
88 Expr, 89 Expr,