summaryrefslogtreecommitdiffstats
path: root/src/librustc_parse/parser/path.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustc_parse/parser/path.rs')
-rw-r--r--src/librustc_parse/parser/path.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_parse/parser/path.rs b/src/librustc_parse/parser/path.rs
index 75bb67d..70c3458 100644
--- a/src/librustc_parse/parser/path.rs
+++ b/src/librustc_parse/parser/path.rs
@@ -1,16 +1,16 @@
1use super::{Parser, TokenType}; 1use super::{Parser, TokenType};
2use crate::maybe_whole; 2use crate::maybe_whole;
3use rustc_errors::{PResult, Applicability, pluralize};
3use syntax::ast::{self, QSelf, Path, PathSegment, Ident, ParenthesizedArgs, AngleBracketedArgs}; 4use syntax::ast::{self, QSelf, Path, PathSegment, Ident, ParenthesizedArgs, AngleBracketedArgs};
4use syntax::ast::{AnonConst, GenericArg, AssocTyConstraint, AssocTyConstraintKind, BlockCheckMode}; 5use syntax::ast::{AnonConst, GenericArg, AssocTyConstraint, AssocTyConstraintKind, BlockCheckMode};
5use syntax::ast::MacArgs; 6use syntax::ast::MacArgs;
6use syntax::ThinVec; 7use syntax::ThinVec;
7use syntax::token::{self, Token}; 8use syntax::token::{self, Token};
8use syntax::source_map::{Span, BytePos}; 9use syntax_pos::source_map::{Span, BytePos};
9use syntax_pos::symbol::{kw, sym}; 10use syntax_pos::symbol::{kw, sym};
10 11
11use std::mem; 12use std::mem;
12use log::debug; 13use log::debug;
13use errors::{PResult, Applicability, pluralize};
14 14
15/// Specifies how to parse a path. 15/// Specifies how to parse a path.
16#[derive(Copy, Clone, PartialEq)] 16#[derive(Copy, Clone, PartialEq)]