blob: 7acc50819a6ad4ed2869bff7a4ffc0aa8ade6fb4 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// check-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() {}
|