-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
F-type_alias_impl_trait`#[feature(type_alias_impl_trait)]``#[feature(type_alias_impl_trait)]`T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
The following code compiles after #87141 but shouldn't
#![feature(const_impl_trait)]
#![feature(min_type_alias_impl_trait)]
type Foo = impl Send;
struct A;
const VALUE: Foo = value();
const fn value() -> Foo {
A
}
fn main() {
}schneiderfelipe
Metadata
Metadata
Assignees
Labels
F-type_alias_impl_trait`#[feature(type_alias_impl_trait)]``#[feature(type_alias_impl_trait)]`T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Projects
Status
Done