1 #![feature(const_impl_trait, 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 //~^ `impl Send` cannot be used in patterns