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

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

trait Trait {}

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

fn main() {}