rust/src/test/ui/const-generics/unused-const-param.rs

6 lines
61 B
Rust

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