Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve semicolon_in_expressions_from_macros warning in serde_test
warning: trailing semicolon in macro used in expression position --> serde_test/src/ser.rs:44:10 | 44 | ); | ^ ... 152 | Some(&Token::BorrowedStr(_)) => assert_next_token!(self, BorrowedStr(v)), | ---------------------------------------- in this macro invocation | = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: this warning originates in the macro `assert_next_token` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trailing semicolon in macro used in expression position --> serde_test/src/ser.rs:36:76 | 36 | assert_next_token!($ser, stringify!($actual), Token::$actual, true); | ^ ... 386 | Token::TupleVariantEnd => assert_next_token!(self.ser, TupleVariantEnd), | --------------------------------------------- in this macro invocation | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: this warning originates in the macro `assert_next_token` (in Nightly builds, run with -Z macro-backtrace for more info)
- Loading branch information