diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-10-11 18:47:14 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-11-07 13:59:13 +0100 |
| commit | cc9c139694389c8df158640d4bcc20a2fe31f1ea (patch) | |
| tree | 4aa8875175cf03b7dc5562cf538588f63edc4ddb /src/libsyntax/parse/parser/expr.rs | |
| parent | 27f97aa468b5079bfd159e6fee9a04d5501a8818 (diff) | |
| download | rust-cc9c139694389c8df158640d4bcc20a2fe31f1ea.tar.gz rust-cc9c139694389c8df158640d4bcc20a2fe31f1ea.zip | |
move syntax::{parse::literal -> util::literal}
Diffstat (limited to 'src/libsyntax/parse/parser/expr.rs')
| -rw-r--r-- | src/libsyntax/parse/parser/expr.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser/expr.rs b/src/libsyntax/parse/parser/expr.rs index cc984f03c7d..800074035ce 100644 --- a/src/libsyntax/parse/parser/expr.rs +++ b/src/libsyntax/parse/parser/expr.rs @@ -3,8 +3,6 @@ use super::{SemiColonMode, SeqSep, TokenExpectType}; use super::pat::{GateOr, PARAM_EXPECTED}; use super::diagnostics::Error; -use crate::parse::literal::LitError; - use crate::ast::{ self, DUMMY_NODE_ID, Attribute, AttrStyle, Ident, CaptureBy, BlockCheckMode, Expr, ExprKind, RangeLimits, Label, Movability, IsAsync, Arm, Ty, TyKind, @@ -16,6 +14,7 @@ use crate::print::pprust; use crate::ptr::P; use crate::source_map::{self, Span}; use crate::util::classify; +use crate::util::literal::LitError; use crate::util::parser::{AssocOp, Fixity, prec_let_scrutinee_needs_par}; use errors::{PResult, Applicability}; |
