mirror of
https://github.com/rust-lang/book.git
synced 2026-09-14 18:01:04 -04:00
This makes 2 changes: 1. It updates the versions of `syn` and `quote` to the latest versions. 2. It updates the code to not use the deprecated type alias `syn::MacroInput` and instead use the preferred `syn::DeriveInput`. `MacroInput` will be removed in the next breaking version of `syn`. See https://github.com/dtolnay/syn/pull/173