Skip to content

Commit 03a857e

Browse files
committed
Add time reference and tracking info for trait system refactor
1 parent 2254f3c commit 03a857e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/normalization.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,10 @@ In this example:
166166

167167
When interfacing with the type system it will often be the case that it's necessary to request a type be normalized. There are a number of different entry points to the underlying normalization logic and each entry point should only be used in specific parts of the compiler.
168168

169-
An additional complication is that the compiler is currently undergoing a transition from the old trait solver to the new trait solver. As part of this transition our approach to normalization in the compiler has changed somewhat significantly, resulting in some normalization entry points being "old solver only" slated for removal in the long-term once the new solver has stabilized.
169+
<!-- date-check: May 2025 -->
170+
An additional complication is that the compiler is currently undergoing a transition from the old trait solver to the new trait solver.
171+
As part of this transition our approach to normalization in the compiler has changed somewhat significantly, resulting in some normalization entry points being "old solver only" slated for removal in the long-term once the new solver has stabilized.
172+
The transition can be tracked via the [WG-trait-system-refactor](https://github.com/rust-lang/rust/labels/WG-trait-system-refactor) label in Github.
170173

171174
Here is a rough overview of the different entry points to normalization in the compiler:
172175
- `infcx.at.structurally_normalize`
@@ -306,4 +309,4 @@ Const aliases differ from type aliases a bit here; well formedness of const alia
306309

307310
[^5]: Const aliases certainly wouldn't be *less* sound than type aliases if we stopped doing this
308311

309-
[const_evaluatable]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/type.ClauseKind.html#variant.ConstEvaluatable
312+
[const_evaluatable]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/type.ClauseKind.html#variant.ConstEvaluatable

0 commit comments

Comments
 (0)