]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/type-alias-impl-trait/structural-match.min_tait.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / type-alias-impl-trait / structural-match.min_tait.stderr
index 36c49a954bda8a0fc449071cec8c8f45659f3e8d..f63b1fb23df7e67003203de2aa1a56ff22d5f8c0 100644 (file)
@@ -1,12 +1,8 @@
-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`.