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