about summary refs log tree commit diff
path: root/src/test/ui/const-generics/apit-with-const-param.rs
blob: 3bc62141927ae14358312ae03de46b01851b6202 (plain)
1
2
3
4
5
6
7
8
9
10
11
// check-pass
// revisions: full min

#![cfg_attr(full, feature(const_generics))]
#![cfg_attr(full, allow(incomplete_features))]

trait Trait {}

fn f<const N: usize>(_: impl Trait) {}

fn main() {}