-
Notifications
You must be signed in to change notification settings - Fork 1.8k
internal: Migrate MIR to next solver #20814
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
base: master
Are you sure you want to change the base?
Conversation
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.
LGTM
|
||
extern crate ra_ap_rustc_next_trait_solver as rustc_next_trait_solver; | ||
|
||
extern crate self as hir_ty; |
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.
what's this for?
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.
The new macros
crate, which I decided to introduce because the boilerplate was too much for my taste.
#[derive(Debug, Copy, Clone, Eq, PartialEq, Hash, TypeFoldable, TypeVisitable)] | ||
pub struct ValueConst<'db> { | ||
pub(crate) ty: Ty<'db>, | ||
// FIXME: Should we ignore this for TypeVisitable, TypeFoldable? |
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.
looks like rustc's ValTree simply has trivial impls?
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.
I'm not sure we should copy what it does, our consteval is quite different.
The CI failure is due to the new implementation of |
fc8b1c0
to
1321db2
Compare
1321db2
to
e6857aa
Compare
No description provided.