-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
always define opaque types outside of trait solver #113572
Conversation
@bors try |
⌛ Trying commit 3811f6e with merge 06e92b163d8046d03c6b297a1235f10cd6c3a734... |
The job Click to see the possible cause of the failure (guessed by this bot)
|
💔 Test failed - checks-actions |
The job Click to see the possible cause of the failure (guessed by this bot)
|
this fails because the following pattern stops working: #![feature(type_alias_impl_trait)]
fn main() {
assert_eq!(foo().to_string(), "foo");
}
type Foo = impl std::fmt::Display;
fn foo() -> Foo {
"foo"
} not yet 100% sure why |
☔ The latest upstream changes (presumably #113637) made this pull request unmergeable. Please resolve the merge conflicts. |
@lcnr any updates on that? |
closing as it causes significant breakage and undesirable behavior |
this matches the intended behavior of the new solver, mostly opening for crater and for some ideas on how to deal with the remaining breakage.
r? @oli-obk @compiler-errors