about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser/generics.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/generics.rs
parent9d6768a478b8a6afa1e16dfebe9d79bd3f508cdf (diff)
downloadrust-3667e6248ec18740ce57db7997333a30c991929b.tar.gz
rust-3667e6248ec18740ce57db7997333a30c991929b.zip
move PResult to librustc_errors
Diffstat (limited to 'src/libsyntax/parse/parser/generics.rs')
-rw-r--r--src/libsyntax/parse/parser/generics.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser/generics.rs b/src/libsyntax/parse/parser/generics.rs
index cfc3768cac5..ae9ecd8fe39 100644
--- a/src/libsyntax/parse/parser/generics.rs
+++ b/src/libsyntax/parse/parser/generics.rs
@@ -1,4 +1,4 @@
-use super::{Parser, PResult};
+use super::Parser;
 
 use crate::ast::{self, WhereClause, GenericParam, GenericParamKind, GenericBounds, Attribute};
 use crate::token;
@@ -6,6 +6,8 @@ use crate::source_map::DUMMY_SP;
 
 use syntax_pos::symbol::{kw, sym};
 
+use errors::PResult;
+
 impl<'a> Parser<'a> {
     /// Parses bounds of a lifetime parameter `BOUND + BOUND + BOUND`, possibly with trailing `+`.
     ///