move PResult to librustc_errors

This commit is contained in:
Mazdak Farrokhzad 2019-10-11 13:06:36 +02:00
parent 9d6768a478
commit 3667e6248e
21 changed files with 52 additions and 44 deletions

View file

@ -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.