rust/tests/ui/consts/value-suggestion-ice-123906.rs
2024-04-14 09:42:53 -04:00

8 lines
128 B
Rust

fn as_chunks<const N: usize>() -> [u8; N] {
loop {
break;
//~^ ERROR mismatched types
}
}
fn main() {}