Skip to content

Hack out effects support for old solver#132119

Merged
bors merged 1 commit intorust-lang:masterfrom
compiler-errors:effects-old-solver
Oct 29, 2024
Merged

Hack out effects support for old solver#132119
bors merged 1 commit intorust-lang:masterfrom
compiler-errors:effects-old-solver

Conversation

@compiler-errors
Copy link
Contributor

Opening this for vibes ✨

Turns out that a basic, somewhat incomplete implementation of host effects is achievable in the old trait solver pretty easily. This should be sufficient for us to use in the standard library itself.

Regarding incompleteness, maybe we should always treat host predicates as ambiguous in intercrate mode (at least in the old solver) to avoid any worries about accidental impl overlap or something.

r? @lcnr cc @fee1-dead

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants