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