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

#![feature(const_generics)]
//~^ WARN the feature `const_generics` is incomplete and may cause the compiler to crash

trait Trait {}

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

fn main() {}