diff options
Diffstat (limited to 'crates/ra_mbe/src/tests.rs')
-rw-r--r-- | crates/ra_mbe/src/tests.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/ra_mbe/src/tests.rs b/crates/ra_mbe/src/tests.rs index 286983d60..be39b0e45 100644 --- a/crates/ra_mbe/src/tests.rs +++ b/crates/ra_mbe/src/tests.rs | |||
@@ -1,6 +1,6 @@ | |||
1 | use std::fmt::Write; | 1 | use std::fmt::Write; |
2 | 2 | ||
3 | use ra_parser::FragmentKind; | 3 | use ::parser::FragmentKind; |
4 | use ra_syntax::{ast, AstNode, NodeOrToken, SyntaxKind::IDENT, SyntaxNode, WalkEvent, T}; | 4 | use ra_syntax::{ast, AstNode, NodeOrToken, SyntaxKind::IDENT, SyntaxNode, WalkEvent, T}; |
5 | use test_utils::assert_eq_text; | 5 | use test_utils::assert_eq_text; |
6 | 6 | ||
@@ -9,9 +9,10 @@ use super::*; | |||
9 | mod rule_parsing { | 9 | mod rule_parsing { |
10 | use ra_syntax::{ast, AstNode}; | 10 | use ra_syntax::{ast, AstNode}; |
11 | 11 | ||
12 | use super::*; | ||
13 | use crate::ast_to_token_tree; | 12 | use crate::ast_to_token_tree; |
14 | 13 | ||
14 | use super::*; | ||
15 | |||
15 | #[test] | 16 | #[test] |
16 | fn test_valid_arms() { | 17 | fn test_valid_arms() { |
17 | fn check(macro_body: &str) { | 18 | fn check(macro_body: &str) { |