]>
Commit | Line | Data |
---|---|---|
487cf647 FG |
1 | #![feature(generic_const_exprs)] |
2 | #![allow(incomplete_features)] | |
3 | ||
4 | struct S<const S: (), const S: S = { S }>; | |
5 | //~^ ERROR the name `S` is already used for a generic parameter in this item's generic parameters | |
6 | //~| ERROR missing generics for struct `S` | |
7 | //~| ERROR cycle detected when computing type of `S::S` | |
8 | //~| ERROR cycle detected when computing type of `S` | |
9 | ||
10 | fn main() {} |