blob: b53cec80071fd429615eaf2e28997360977d84f5 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// check-pass
#![feature(const_generics)]
//~^ WARN the feature `const_generics` is incomplete
pub trait Trait<const N: usize>: From<<Self as Trait<N>>::Item> {
type Item;
}
fn main() {}
|