feature(const_generics)
-> feature(const_param_types)
This commit is contained in:
parent
c0e853f274
commit
0c28e028b6
574 changed files with 849 additions and 4305 deletions
|
@ -1,5 +1,5 @@
|
|||
// check-pass
|
||||
#![feature(const_generics, generic_const_exprs, const_generics_defaults)]
|
||||
#![feature(generic_const_exprs, const_generics_defaults)]
|
||||
#![allow(incomplete_features)]
|
||||
struct Foo<const N: usize, const M: usize = { N + 1 }>;
|
||||
struct Bar<const N: usize>(Foo<N, 3>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue