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/path.rs | |
| parent | 9d6768a478b8a6afa1e16dfebe9d79bd3f508cdf (diff) | |
| download | rust-3667e6248ec18740ce57db7997333a30c991929b.tar.gz rust-3667e6248ec18740ce57db7997333a30c991929b.zip | |
move PResult to librustc_errors
Diffstat (limited to 'src/libsyntax/parse/parser/path.rs')
| -rw-r--r-- | src/libsyntax/parse/parser/path.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser/path.rs b/src/libsyntax/parse/parser/path.rs index 2659e0c680e..9ceb3ba1eb4 100644 --- a/src/libsyntax/parse/parser/path.rs +++ b/src/libsyntax/parse/parser/path.rs @@ -1,4 +1,4 @@ -use super::{Parser, PResult, TokenType}; +use super::{Parser, TokenType}; use crate::{maybe_whole, ThinVec}; use crate::ast::{self, QSelf, Path, PathSegment, Ident, ParenthesizedArgs, AngleBracketedArgs}; @@ -9,7 +9,7 @@ use syntax_pos::symbol::{kw, sym}; use std::mem; use log::debug; -use errors::{Applicability, pluralize}; +use errors::{PResult, Applicability, pluralize}; /// Specifies how to parse a path. #[derive(Copy, Clone, PartialEq)] |
