Skip to content

Commit 9a3c210

Browse files
authored
Update anon-const-substs.md
1 parent 3c8a724 commit 9a3c210

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

design-docs/anon-const-substs.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Anon consts currently inherit all of their parents generic parameters. This brea
1515

1616
[#78369](https://github.com/rust-lang/rust/issues/78369)
1717
```rust
18-
#![feature(lazy_normalization_consts)]
18+
#![feature(generic_const_exprs)]
1919
struct P<T: ?Sized>([u8; 1 + 4], T);
2020

2121
fn main() {
@@ -70,7 +70,7 @@ Not yet solved, potentially fixed by improving the query/trait system to deal wi
7070
We evaluate consts in where clauses without first proving the where clauses of the const itself, potentially causing ICE.
7171

7272
```rust
73-
#![feature(const_generics, const_evaluatable_checked)]
73+
#![feature(generic_const_exprs)]
7474

7575
trait Foo {
7676
type Assoc;

0 commit comments

Comments
 (0)