-#![feature(const_impl_trait, type_alias_impl_trait)]
+#![feature(type_alias_impl_trait)]
type Foo = impl Send;
const VALUE: Foo = value();
fn test() {
- match todo!() {
+ match VALUE {
VALUE => (),
- //~^ `impl Send` cannot be used in patterns
+ //~^ `Foo` cannot be used in patterns
_ => (),
}
}