Broken with latest syn version

As of today our build is breaking due to:

error[E0433]: failed to resolve: could not find `export` in `syn`
  --> /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/enum_dispatch-0.3.4/src/enum_dispatch_item.rs:56:11
   |
56 | impl syn::export::quote::ToTokens for EnumDispatchItem {
   |           ^^^^^^ could not find `export` in `syn`

error[E0433]: failed to resolve: could not find `export` in `syn`
  --> /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/enum_dispatch-0.3.4/src/enum_dispatch_variant.rs:47:11
   |
47 | impl syn::export::quote::ToTokens for EnumDispatchVariant {
   |           ^^^^^^ could not find `export` in `syn`

error[E0433]: failed to resolve: could not find `export` in `syn`
   --> /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/enum_dispatch-0.3.4/src/expansion.rs:303:26
    |
303 |             syn::export::Span::call_site(),
    |                          ^^^^ not found in `syn::export`

It looks like this is due to the change here

Can probably be resolved by locking this dependency into the previous version?

Assignee Loading
Time tracking Loading