rust/tests/ui/const-generics/apit-with-const-param.rs
2024-02-16 20:02:50 +00:00

8 lines
85 B
Rust

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