rust/tests/ui/const-generics/unused-const-param.rs

6 lines
62 B
Rust

//@ check-pass
struct A<const N: usize>; // ok
fn main() {}