-error[E0658]: type alias impl trait is not permitted here
- --> $DIR/structural-match.rs:16:20
+error: `impl Send` cannot be used in patterns
+ --> $DIR/structural-match.rs:19:9
|
-LL | const VALUE: Foo = value();
- | ^^^^^^^
- |
- = note: see issue #63065 <https://github.com/rust-lang/rust/issues/63065> for more information
- = help: add `#![feature(impl_trait_in_bindings)]` to the crate attributes to enable
+LL | VALUE => (),
+ | ^^^^^
error: aborting due to previous error
-For more information about this error, try `rustc --explain E0658`.