Skip to content

Commit ebab580

Browse files
authored
Add time reference and tracking info for trait system refactor
1 parent 2254f3c commit ebab580

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/normalization.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,9 @@ 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+
An additional complication is that the compiler is currently (as of May 2025) undergoing a transition from the old trait solver to the new trait solver.
170+
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.
171+
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.
170172

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

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

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

0 commit comments

Comments
 (0)