commit | ad4b247cf01af3c93dae0bc87b13e78f0cdeeccb | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Sat Aug 25 08:25:24 2018 -0400 |
committer | David Tolnay <dtolnay@gmail.com> | Sat Aug 25 08:26:05 2018 -0400 |
tree | 0d8da3b93f06b284a5b7917ba59bb63e3eee46ea | |
parent | 456c982ee242712747026a519ec713e8bfc8507b [diff] [blame] |
Unify the error modules
diff --git a/src/next/parse.rs b/src/next/parse.rs index ed275ef..7e5f310 100644 --- a/src/next/parse.rs +++ b/src/next/parse.rs
@@ -7,11 +7,9 @@ use std::ops::Deref; use buffer::Cursor; +use error::{self, Error, Result}; use proc_macro2::{Ident, Span}; -use super::error; - -pub use super::error::{Error, Result}; pub use super::lookahead::{Lookahead1, Peek}; /// Parsing interface implemented by all types that can be parsed in a default