rename const_evaluatable_checked to generic_const_exprs
✨
This commit is contained in:
parent
dbb0fe9d80
commit
fcc2badf9b
146 changed files with 178 additions and 213 deletions
|
@ -0,0 +1,6 @@
|
|||
// check-pass
|
||||
#![feature(const_generics, 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>);
|
||||
fn main() {}
|
Loading…
Add table
Add a link
Reference in a new issue