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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
85 B
Rust
Raw Normal View History

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