Fix declare_ser_tests to work on old rustc

This commit is contained in:
David Tolnay 2016-06-28 23:09:37 -07:00
parent 8e87926bc2
commit 7d09053bb8
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ macro_rules! declare_ser_tests {
#[test]
fn $name() {
$(
self::serde_test::assert_ser_tokens(&$value, $tokens);
assert_ser_tokens(&$value, $tokens);
)+
}
)+

View File

@ -7,6 +7,7 @@ extern crate serde_test;
use self::serde_test::{
Error,
Token,
assert_ser_tokens,
assert_ser_tokens_error,
};