2021-08-27 18:04:57 +02:00
|
|
|
#![feature(generic_const_exprs)]
|
2020-09-21 22:01:18 +02:00
|
|
|
#![allow(incomplete_features)]
|
|
|
|
fn test<const N: usize>() -> [u8; N + (|| 42)()] {}
|
2022-05-10 14:19:19 +00:00
|
|
|
//~^ ERROR cycle detected when building an abstract representation
|
2020-09-21 22:01:18 +02:00
|
|
|
|
|
|
|
fn main() {}
|