Skip to content

implement ConstEvaluatable goals in new solver #113324

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jul 5, 2023

Conversation

lcnr
Copy link
Contributor

@lcnr lcnr commented Jul 4, 2023

this only supports stable const generics. feature(generic_const_exprs) needs to extend that function is non-trivial ways. Leaving this for someone else or some later date.

r? @BoxyUwU

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Jul 4, 2023
@rustbot
Copy link
Collaborator

rustbot commented Jul 4, 2023

Some changes occurred to the core trait solver

cc @rust-lang/initiative-trait-system-refactor

@rust-log-analyzer

This comment has been minimized.

we don't yet handle `generic_const_exprs`, someone else
can do that :3
@lcnr lcnr force-pushed the const-evaluatable-goal branch from fa73b02 to abcaf30 Compare July 4, 2023 13:54
@lcnr
Copy link
Contributor Author

lcnr commented Jul 4, 2023

@bors r=BoxyUwU rollup

@bors
Copy link
Collaborator

bors commented Jul 4, 2023

📌 Commit abcaf30 has been approved by BoxyUwU

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 4, 2023
@lcnr lcnr mentioned this pull request Jul 4, 2023
12 tasks
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 4, 2023
…iaskrgr

Rollup of 5 pull requests

Successful merges:

 - rust-lang#113192 (`assemble_candidates_after_normalizing_self_ty` docs)
 - rust-lang#113251 (Use scoped-tls for SMIR to  map between TyCtxt and SMIR datastructures)
 - rust-lang#113282 (Update platform-support.md to improve ARM target descriptions)
 - rust-lang#113296 (add flag for enabling global cache usage for proof trees and printing proof trees on error)
 - rust-lang#113324 (implement `ConstEvaluatable` goals in new solver)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 7996908 into rust-lang:master Jul 5, 2023
@rustbot rustbot added this to the 1.72.0 milestone Jul 5, 2023
@lcnr lcnr deleted the const-evaluatable-goal branch July 5, 2023 09:22
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants