blob: 1ea310d063b82a6db2fe30bfd88d429e21d9efbd (
plain)
1
2
3
4
5
6
|
#![feature(generic_const_exprs)]
#![allow(incomplete_features)]
fn test<const N: usize>() -> [u8; N + (|| 42)()] {}
//~^ ERROR cycle detected when building an abstract representation
fn main() {}
|