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

#![feature(const_generics)]
//~^ WARN the feature `const_generics` is incomplete

trait Trait {}

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

fn main() {}