about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser/expr.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-10-11 13:06:36 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2019-11-07 13:58:36 +0100
commit3667e6248ec18740ce57db7997333a30c991929b (patch)
treeec013e9752c766bc2ed4bf4c28b343fe8bf5466c /src/libsyntax/parse/parser/expr.rs
parent9d6768a478b8a6afa1e16dfebe9d79bd3f508cdf (diff)
downloadrust-3667e6248ec18740ce57db7997333a30c991929b.tar.gz
rust-3667e6248ec18740ce57db7997333a30c991929b.zip
move PResult to librustc_errors
Diffstat (limited to 'src/libsyntax/parse/parser/expr.rs')
-rw-r--r--src/libsyntax/parse/parser/expr.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser/expr.rs b/src/libsyntax/parse/parser/expr.rs
index 4b962201e85..9faa4aefbb6 100644
--- a/src/libsyntax/parse/parser/expr.rs
+++ b/src/libsyntax/parse/parser/expr.rs
@@ -1,4 +1,4 @@
-use super::{Parser, PResult, Restrictions, PrevTokenKind, TokenType, PathStyle, BlockMode};
+use super::{Parser, Restrictions, PrevTokenKind, TokenType, PathStyle, BlockMode};
 use super::{SemiColonMode, SeqSep, TokenExpectType};
 use super::pat::{GateOr, PARAM_EXPECTED};
 use super::diagnostics::Error;
@@ -18,7 +18,7 @@ use crate::ptr::P;
 use crate::source_map::{self, Span};
 use crate::util::parser::{AssocOp, Fixity, prec_let_scrutinee_needs_par};
 
-use errors::Applicability;
+use errors::{PResult, Applicability};
 use syntax_pos::symbol::{kw, sym};
 use syntax_pos::Symbol;
 use std::mem;