rust/tests/ui/consts/value-suggestion-ice-123906.rs

9 lines
128 B
Rust
Raw Normal View History

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