move syntax::{parse::literal -> util::literal}
This commit is contained in:
parent
27f97aa468
commit
cc9c139694
4 changed files with 2 additions and 4 deletions
|
@ -88,6 +88,7 @@ pub mod util {
|
|||
crate mod classify;
|
||||
pub mod comments;
|
||||
pub mod lev_distance;
|
||||
crate mod literal;
|
||||
pub mod node_count;
|
||||
pub mod parser;
|
||||
pub mod map_in_place;
|
||||
|
|
|
@ -24,8 +24,6 @@ mod tests;
|
|||
pub mod parser;
|
||||
pub mod lexer;
|
||||
|
||||
crate mod literal;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct Directory<'a> {
|
||||
pub path: Cow<'a, Path>,
|
||||
|
|
|
@ -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};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue