1 2 3 4 5 6
fn f(x:isize) { static child: isize = x + 1; //~^ ERROR attempt to use a non-constant value in a constant } fn main() {}