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/stmt.rs | |
| parent | 9d6768a478b8a6afa1e16dfebe9d79bd3f508cdf (diff) | |
| download | rust-3667e6248ec18740ce57db7997333a30c991929b.tar.gz rust-3667e6248ec18740ce57db7997333a30c991929b.zip | |
move PResult to librustc_errors
Diffstat (limited to 'src/libsyntax/parse/parser/stmt.rs')
| -rw-r--r-- | src/libsyntax/parse/parser/stmt.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser/stmt.rs b/src/libsyntax/parse/parser/stmt.rs index 010fd9c37fd..2a3d6b05bb9 100644 --- a/src/libsyntax/parse/parser/stmt.rs +++ b/src/libsyntax/parse/parser/stmt.rs @@ -1,4 +1,4 @@ -use super::{Parser, PResult, Restrictions, PrevTokenKind, SemiColonMode, BlockMode}; +use super::{Parser, Restrictions, PrevTokenKind, SemiColonMode, BlockMode}; use super::expr::LhsExpr; use super::path::PathStyle; use super::pat::GateOr; @@ -14,7 +14,7 @@ use crate::source_map::{respan, Span}; use crate::symbol::{kw, sym}; use std::mem; -use errors::Applicability; +use errors::{PResult, Applicability}; impl<'a> Parser<'a> { /// Parses a statement. This stops just before trailing semicolons on everything but items. |
