3 const fn foo(x: u32) -> u32 {
9 //~^ WARN any use of this value will cause
10 const Y: u32 = foo(0-1);
11 //~^ WARN any use of this value will cause
12 println!("{} {}", X, Y);
13 //~^ ERROR evaluation of constant expression failed
14 //~| ERROR evaluation of constant expression failed