summaryrefslogtreecommitdiffstats
path: root/src/librustc_parse/parser/module.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustc_parse/parser/module.rs')
-rw-r--r--src/librustc_parse/parser/module.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/librustc_parse/parser/module.rs b/src/librustc_parse/parser/module.rs
index 59d7c2b..5b8526c 100644
--- a/src/librustc_parse/parser/module.rs
+++ b/src/librustc_parse/parser/module.rs
@@ -4,13 +4,12 @@ use super::diagnostics::Error;
4 4
5use crate::{new_sub_parser_from_file, DirectoryOwnership}; 5use crate::{new_sub_parser_from_file, DirectoryOwnership};
6 6
7use rustc_errors::PResult;
7use syntax::attr; 8use syntax::attr;
8use syntax::ast::{self, Ident, Attribute, ItemKind, Mod, Crate}; 9use syntax::ast::{self, Ident, Attribute, ItemKind, Mod, Crate};
9use syntax::token::{self, TokenKind}; 10use syntax::token::{self, TokenKind};
10use syntax::source_map::{SourceMap, Span, DUMMY_SP, FileName}; 11use syntax_pos::source_map::{SourceMap, Span, DUMMY_SP, FileName};
11
12use syntax_pos::symbol::sym; 12use syntax_pos::symbol::sym;
13use errors::PResult;
14 13
15use std::path::{self, Path, PathBuf}; 14use std::path::{self, Path, PathBuf};
16 15