commit | 0246535b8b3105529b7e1bb19a00db2e3de8eebd | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Thu Aug 30 23:38:00 2018 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Thu Aug 30 23:38:00 2018 -0700 |
tree | 6242c8a101ad2ee2f03d4c7ca2e5035565dff019 | |
parent | 0a333f5ab62733af440ae05958645504539af20d [diff] [blame] |
Fix parse_macro_input no longer in next module
diff --git a/src/lib.rs b/src/lib.rs index a4f3dec..5c60a70 100644 --- a/src/lib.rs +++ b/src/lib.rs
@@ -804,7 +804,7 @@ #[macro_export] macro_rules! parse_macro_input { ($tokenstream:ident as $ty:ty) => { - match $crate::next::parse::<$ty>($tokenstream) { + match $crate::parse::<$ty>($tokenstream) { $crate::export::Ok(data) => data, $crate::export::Err(err) => { return $crate::export::TokenStream::from(err.into_compile_error());