diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-10-08 09:46:06 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-10-16 10:59:53 +0200 |
| commit | 98017ca53a0c3ac6a10f60b47462bd3546baaaa1 (patch) | |
| tree | 426c5c5047c677ff806174bb8c433d10461f9fec /src/libsyntax/parse/parser.rs | |
| parent | 41bfe94d404c69f0f2e7ebad7383940cf0ac1cb3 (diff) | |
| download | rust-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.rs | 3 |
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, |
