thlorenz / rid

Rust integrated Dart framework providing an easy way to build Flutter apps with Rust.
64 stars 4 forks source link

No variant or associated item named `__TestExhaustive` found for enum `syn::Item` in the current scope #67

Open denysvitali opened 1 year ago

denysvitali commented 1 year ago

It seems like rid_macro_impl can't be compiled because __TestExhaustive doesn't exist anymore in the syn crate.

error[E0599]: no variant or associated item named `__TestExhaustive` found for enum `syn::Item` in the current scope
   --> rid-macro-impl/src/export/attach.rs:175:22
    |
175 |         | syn::Item::__TestExhaustive(_) => {
    |                      ^^^^^^^^^^^^^^^^ variant or associated item not found in `syn::Item`