-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
[crater] Normalize opaques to infer vars eagerly in AssocTypeNormalizer #120798
[crater] Normalize opaques to infer vars eagerly in AssocTypeNormalizer #120798
Conversation
@bors try |
Some changes occurred to the core trait solver cc @rust-lang/initiative-trait-system-refactor |
…=<try> Normalize opaques to infer vars eagerly in AssocTypeNormalizer :forgor: r? `@ghost`
infer, | ||
true, | ||
) | ||
.expect("uwu"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
owo
☀️ Try build successful - checks-actions |
@craterbot check |
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
🎉 Experiment
|
nearly all of the unknown tests are a "concrete type differs from previous defining opaque type use" where one of the hidden types is I think that most of these errors are caused by structurally instantiating opaque types, e.g. coral-0.9.2 pub struct Message {
pub message: String,
pub children: Option<Vec<Message>>,
}
impl Message {
pub fn unroll(&self) -> impl Iterator<Item = &Message> {
let mut messages = Vec::new();
messages.push(self);
if let Some(ref children) = self.children {
for child in children {
messages.extend(child.unroll());
// ^ the returned iter is `opaque::<'fresh>`
}
}
messages.into_iter()
}
} unless we want to look through 800 regressions to figure out how many of them are actually the "needs eager inference progress case of |
There are definitely some actual regressions here, e.g. and |
ok bye bye pr |
:forgor:
r? @ghost