blob: 9e912b691773bcbcac6bddb8ab0bc8a136cbf701 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// check-pass
// revisions: full min
#![cfg_attr(full, feature(const_generics))]
#![cfg_attr(full, allow(incomplete_features))]
pub trait Trait<const N: usize>: From<<Self as Trait<N>>::Item> {
type Item;
}
fn main() {}
|