commit | 62a8b69243c4a0a3a0ff5094f5c9e80d2401cf81 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Wed Sep 07 08:18:21 2016 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Wed Sep 07 08:19:28 2016 -0700 |
tree | 31236506128bdd9f1c5e48a06462bf623ff7e268 | |
parent | 1c836f75a5d1868c8463340b8867266b5a21d5b4 [diff] [blame] |
Rebrand as 'syn'
diff --git a/tests/all.rs b/tests/all.rs index 50d70ee..a8a84e1 100644 --- a/tests/all.rs +++ b/tests/all.rs
@@ -1,4 +1,4 @@ -extern crate item; +extern crate syn; #[macro_use] extern crate quote; @@ -8,9 +8,9 @@ #[test] fn test_all() { for s in ITEMS { - let ast = item::parse(s); + let ast = syn::parse_item(s); let tokens = quote!(#ast).to_string(); - assert_eq!(ast, item::parse(&tokens)); + assert_eq!(ast, syn::parse_item(&tokens)); } static ITEMS: &'static [&'static str] = &[