fn foo() -> [u8; N] { bar::() //~ ERROR mismatched types //~^ ERROR the constant `N` is not of type `u8` } fn bar() -> [u8; N] {} //~^ ERROR mismatched types //~| ERROR mismatched types fn main() {}