-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
to_opt_poly_X_pred
-> as_X_clause
#125153
Conversation
changes to the core type system Some changes occurred to the core trait solver cc @rust-lang/initiative-trait-system-refactor |
@bors r+ rollup |
This comment has been minimized.
This comment has been minimized.
@@ -2739,7 +2739,7 @@ impl<'tcx> TypeErrCtxt<'_, 'tcx> { | |||
| ObligationCauseCode::ReferenceOutlivesReferent(..) | |||
| ObligationCauseCode::ObjectTypeBound(..) => {} | |||
ObligationCauseCode::RustCall => { | |||
if let Some(pred) = predicate.to_opt_poly_trait_pred() | |||
if let Some(pred) = predicate.as_projection_clause() |
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.
if let Some(pred) = predicate.as_projection_clause() | |
if let Some(pred) = predicate.as_trait_clause() |
☔ The latest upstream changes (presumably #125203) made this pull request unmergeable. Please resolve the merge conflicts. |
rebased @bors r=lcnr |
☀️ Test successful - checks-actions |
Finished benchmarking commit (1a73979): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results (primary 0.4%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResults (primary 1.4%, secondary -0.7%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 670.062s -> 668.756s (-0.19%) |
r? lcnr