Skip to content

Could not compile the code  #1

Open
@DeliciousBounty

Description

@DeliciousBounty

error[E0658]: let...else statements are unstable
--> /home/nathan/.cargo/registry/src/github.tiyicn.workers.dev-1ecc6299db9ec823/fields-iter-macros-0.0.1/src/lib.rs:10:5
|
10 | / let syn::Data::Struct(strukt) = item.data else {
11 | | return syn::Error::new_spanned(&item, "only structs are supported for #[derive(FieldsInspect)]")
12 | | .into_compile_error()
13 | | .into();
14 | | };
| |______^
|
= note: see issue #87335 rust-lang/rust#87335 for more information
= help: add #![feature(let_else)] to the crate attributes to enable

For more information about this error, try rustc --explain E0658.
error: could not compile fields-iter-macros due to previous error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions