blob: 32f43591e37b9d33f777aec73be281a5b187fa06 [file] [log] [blame]
#![feature(const_generics, const_evaluatable_checked)]
#![allow(incomplete_features)]
fn test<const N: usize>() -> [u8; N + (|| 42)()] {}
//~^ ERROR overly complex generic constant
fn main() {}