blob: 9d31162c1c6f4ec6672fc09fc7280c55a451ad06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Check that const parameters are permitted in traits.
// run-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<const T: u8> {}
fn main() {}
|