1 #![feature(type_alias_impl_trait)]
5 // While i32 is structural-match, we do not want to leak this information.
6 // (See https://github.com/rust-lang/rust/issues/72156)
7 const fn leak_free() -> Bar {
10 const LEAK_FREE: Bar = leak_free();
15 //~^ `Bar` cannot be used in patterns