diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-12-05 19:03:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-05 19:03:20 +0100 |
| commit | 0e18ca14479df69fd02b68945c3155c50c3effa4 (patch) | |
| tree | f792c021d1b87e13853b5de3aab0fbafa23fe306 /src/librustc_parse/parser/module.rs | |
| parent | 23b8c06f27d4884019a7fe9637afec455f2151dd (diff) | |
| parent | 74804fa3e706d6217127bc6b8d2bf019a4653e74 (diff) | |
| download | rust-0e18ca14479df69fd02b68945c3155c50c3effa4.tar.gz rust-0e18ca14479df69fd02b68945c3155c50c3effa4.zip | |
Rollup merge of #67045 - Centril:parser-import-clean, r=Mark-Simulacrum
rustc_parser: cleanup imports Reorganize & canonicalize some imports + Drop `rustc_target` as a dependency. r? @Mark-Simulacrum
Diffstat (limited to 'src/librustc_parse/parser/module.rs')
| -rw-r--r-- | src/librustc_parse/parser/module.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/librustc_parse/parser/module.rs b/src/librustc_parse/parser/module.rs index 807defc51c1..3777e17b5a1 100644 --- a/src/librustc_parse/parser/module.rs +++ b/src/librustc_parse/parser/module.rs @@ -4,13 +4,12 @@ use super::diagnostics::Error; use crate::{new_sub_parser_from_file, DirectoryOwnership}; +use rustc_errors::PResult; use syntax::attr; use syntax::ast::{self, Ident, Attribute, ItemKind, Mod, Crate}; use syntax::token::{self, TokenKind}; -use syntax::source_map::{SourceMap, Span, DUMMY_SP, FileName}; - +use syntax_pos::source_map::{SourceMap, Span, DUMMY_SP, FileName}; use syntax_pos::symbol::sym; -use errors::PResult; use std::path::{self, Path, PathBuf}; |
