diff options
Diffstat (limited to 'src/libsyntax/visit.rs')
| -rw-r--r-- | src/libsyntax/visit.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libsyntax/visit.rs b/src/libsyntax/visit.rs index 8cbd47ca70f..acbb58a66b6 100644 --- a/src/libsyntax/visit.rs +++ b/src/libsyntax/visit.rs @@ -13,10 +13,11 @@ //! instance, a walker looking for item names in a module will miss all of //! those that are created by the expansion of a macro. -use ast::*; +use crate::ast::*; +use crate::parse::token::Token; +use crate::tokenstream::{TokenTree, TokenStream}; + use syntax_pos::Span; -use parse::token::Token; -use tokenstream::{TokenTree, TokenStream}; #[derive(Copy, Clone)] pub enum FnKind<'a> { |
