-
Notifications
You must be signed in to change notification settings - Fork 21
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
Solve ProjectionPredicate
during normalization
#830
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.
@ranjitjhala, looks good to merge (modulo small comments), but I'm not sure if it fully solves #829. That one involves a FnOnce::Otput
projection on a function pointer and I have the impression that the implementation of FnOnce
for function pointers is built-in, so I'm not sure how that plays out. It may be ok though. That's an orthogonal issue though, just want to make sure we are not closing #829 if it's not fully solved.
} | ||
|
||
fn ctor_for_param(&mut self, _param_ty: rustc_middle::ty::ParamTy) -> super::SubsetTyCtor { | ||
todo!() |
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.
todo!() | |
tracked_span_bug!() |
} | ||
|
||
fn region_for_param(&mut self, _ebr: rustc_middle::ty::EarlyParamRegion) -> Region { | ||
todo!() |
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.
todo!() | |
tracked_span_bug!() |
} | ||
|
||
fn expr_for_param_const(&self, _param_const: rustc_middle::ty::ParamConst) -> Expr { | ||
todo!() |
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.
todo!() | |
tracked_span_bug!() |
} | ||
|
||
fn const_for_param(&mut self, _param: &Const) -> Const { | ||
todo!() |
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.
todo!() | |
tracked_span_bug!() |
Co-authored-by: Nico Lehmann <nico.lehmannm@gmail.com>
Fixes #829