mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 09:32:15 +00:00
5 lines
133 B
Rust
5 lines
133 B
Rust
struct MyArray<const COUNT: usize>([u8; COUNT + 1]);
|
|
//~^ ERROR generic parameters may not be used in const operations
|
|
|
|
fn main() {}
|