Skip to content

-Znext-solver allow ExprKind::Call for not-yet defined opaques#145993

Merged
bors merged 2 commits intorust-lang:masterfrom
lcnr:allow-calling-opaques
Sep 18, 2025
Merged

-Znext-solver allow ExprKind::Call for not-yet defined opaques#145993
bors merged 2 commits intorust-lang:masterfrom
lcnr:allow-calling-opaques

Conversation

@lcnr
Copy link
Copy Markdown
Contributor

@lcnr lcnr commented Aug 29, 2025

Based on #146329. Revival of #140496. See the comment on OpaqueTypesJank. I've used the following document while working on this https://hackmd.io/Js61f8PRTcyaiyqS-fH9iQ.

Fixes rust-lang/trait-system-refactor-initiative#181. It does introduce one subtle footgun we may want to handle before stabilization, opened rust-lang/trait-system-refactor-initiative#230 for that. Also cc rust-lang/trait-system-refactor-initiative#231 for deref and index operations

r? @BoxyUwU

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-bors This PR was explicitly merged by bors. 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.

calling impl Fn in defining scope

6 participants