rust/tests/ui/const-generics/apit-with-const-param.rs

8 lines
85 B
Rust

//@ check-pass
trait Trait {}
fn f<const N: usize>(_: impl Trait) {}
fn main() {}