Skip to content

Commit c05625e

Browse files
authored
Merge pull request #1670 from tomassedovic/restrictions-goal-update
Goals: add the restrictions update
2 parents 5cdc972 + 36c858f commit c05625e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

content/Project-Goals-2025-July-Update.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -984,6 +984,29 @@ Chiming in for @epage here since further progress is still blocked on the compil
984984
<!-- markdown separator -->
985985

986986

987+
<details>
988+
<summary>1 detailed update available.</summary>
989+
990+
<!-- this comment helps to convince the markdown parser to do the right thing -->
991+
992+
993+
<!-- this comment helps to convince the markdown parser to do the right thing -->
994+
995+
<a href="https://github.com/rust-lang/rust-project-goals/issues/257#issuecomment-3155934755">Comment by @jhpratt posted on 2025-08-05:</a><br>
996+
997+
<blockquote>
998+
999+
<!-- this comment helps to convince the markdown parser to do the right thing -->
1000+
1001+
Implementation remains in progress; I'll be able to land a couple PRs soon getting it largely implemented. Progress was slower than expected due to me having a fair amount going on. As I still very much want this feature, I will continue work on it even with the goal having formally lapsed.
1002+
1003+
Additionally, I think that after it's fully implemented it may be feasible to leverage the crate-local knowledge of `impl` restrictions to optimize `dyn` in an `enum_dispatch`-like manner. I haven't investigated the feasibility of that in the compiler — it's merely a suspicion.
1004+
1005+
<!-- this comment helps to convince the markdown parser to do the right thing -->
1006+
1007+
</blockquote>
1008+
1009+
</details>
9871010

9881011
<!-- markdown separator -->
9891012

0 commit comments

Comments
 (0)