diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-10-11 13:06:36 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-11-07 13:58:36 +0100 |
| commit | 3667e6248ec18740ce57db7997333a30c991929b (patch) | |
| tree | ec013e9752c766bc2ed4bf4c28b343fe8bf5466c /src/libsyntax/parse/parser/module.rs | |
| parent | 9d6768a478b8a6afa1e16dfebe9d79bd3f508cdf (diff) | |
| download | rust-3667e6248ec18740ce57db7997333a30c991929b.tar.gz rust-3667e6248ec18740ce57db7997333a30c991929b.zip | |
move PResult to librustc_errors
Diffstat (limited to 'src/libsyntax/parse/parser/module.rs')
| -rw-r--r-- | src/libsyntax/parse/parser/module.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser/module.rs b/src/libsyntax/parse/parser/module.rs index 70e0dfc3e88..72049daaed3 100644 --- a/src/libsyntax/parse/parser/module.rs +++ b/src/libsyntax/parse/parser/module.rs @@ -1,4 +1,4 @@ -use super::{Parser, PResult}; +use super::Parser; use super::item::ItemInfo; use super::diagnostics::Error; @@ -9,6 +9,8 @@ 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. |
