about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser/module.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-11-07 14:27:23 +0100
committerGitHub <noreply@github.com>2019-11-07 14:27:23 +0100
commit28c113697065aadb9e85f6d5b3a5b075b2bd060e (patch)
treee77945f5b5f8e8dfac3b0a18ad8802f12091f30f /src/libsyntax/parse/parser/module.rs
parent59e79ff13769c1d062b805c3372d64b34e44fe1c (diff)
parentcc9c139694389c8df158640d4bcc20a2fe31f1ea (diff)
downloadrust-28c113697065aadb9e85f6d5b3a5b075b2bd060e.tar.gz
rust-28c113697065aadb9e85f6d5b3a5b075b2bd060e.zip
Rollup merge of #65916 - Centril:split-syntax-3, r=davidtwco
syntax: move stuff around

Part of https://github.com/rust-lang/rust/pull/65324.

r? @davidtwco
cc @estebank @petrochenkov
Diffstat (limited to 'src/libsyntax/parse/parser/module.rs')
-rw-r--r--src/libsyntax/parse/parser/module.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser/module.rs b/src/libsyntax/parse/parser/module.rs
index 242a17659a0..72049daaed3 100644
--- a/src/libsyntax/parse/parser/module.rs
+++ b/src/libsyntax/parse/parser/module.rs
@@ -1,14 +1,16 @@
-use super::{Parser, PResult};
+use super::Parser;
 use super::item::ItemInfo;
 use super::diagnostics::Error;
 
 use crate::attr;
 use crate::ast::{self, Ident, Attribute, ItemKind, Mod, Crate};
 use crate::parse::{new_sub_parser_from_file, DirectoryOwnership};
-use crate::parse::token::{self, TokenKind};
+use crate::token::{self, TokenKind};
 use crate::source_map::{SourceMap, Span, DUMMY_SP, FileName};
 use crate::symbol::sym;
 
+use errors::PResult;
+
 use std::path::{self, Path, PathBuf};
 
 /// Information about the path to a module.