]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/type-alias-impl-trait/structural-match.rs
1 #![feature(const_impl_trait)]
2 #![feature(type_alias_impl_trait)]
6 // This is not structural-match
9 const fn value() -> Foo
{
12 const VALUE
: Foo
= value();
17 //~^ `impl Send` cannot be used in patterns