]>
git.proxmox.com Git - rustc.git/blob - tests/ui/type-alias-impl-trait/structural-match.rs
1 #![feature(type_alias_impl_trait)]
5 // This is not structural-match
8 const fn value() -> Foo
{
11 const VALUE
: Foo
= value();
16 //~^ `Foo` cannot be used in patterns