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/lookahead.rs b/src/next/lookahead.rs index c051a8d..433cbaf 100644 --- a/src/next/lookahead.rs +++ b/src/next/lookahead.rs
@@ -1,11 +1,10 @@ use std::cell::RefCell; -use buffer::Cursor; use proc_macro2::Span; +use buffer::Cursor; +use error::{self, Error}; use span::IntoSpans; -use super::error; -use super::parse::Error; use token::Token; /// Support for checking the next token in a stream to decide how to parse.