about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-10-08 09:46:06 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2019-10-16 10:59:53 +0200
commit98017ca53a0c3ac6a10f60b47462bd3546baaaa1 (patch)
tree426c5c5047c677ff806174bb8c433d10461f9fec /src/libsyntax/parse/parser.rs
parent41bfe94d404c69f0f2e7ebad7383940cf0ac1cb3 (diff)
downloadrust-98017ca53a0c3ac6a10f60b47462bd3546baaaa1.tar.gz
rust-98017ca53a0c3ac6a10f60b47462bd3546baaaa1.zip
move diagnostics.rs into parser/
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index b710fcff65b..6f55fd23e6e 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -10,7 +10,8 @@ mod path;
 pub use path::PathStyle;
 mod stmt;
 mod generics;
-use super::diagnostics::Error;
+mod diagnostics;
+use diagnostics::Error;
 
 use crate::ast::{
     self, DUMMY_NODE_ID, AttrStyle, Attribute, CrateSugar, Ident,