mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Refactor macro tests
This commit is contained in:
parent
e17dcc45a6
commit
6edc54a1e6
3 changed files with 293 additions and 407 deletions
|
@ -83,6 +83,7 @@ pub fn parse(token_source: &mut dyn TokenSource, tree_sink: &mut dyn TreeSink) {
|
|||
parse_from_tokens(token_source, tree_sink, grammar::root);
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
pub enum FragmentKind {
|
||||
Path,
|
||||
Expr,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue