about summary refs log tree commit diff
path: root/src/test/ui/const-generics/issues/issue-66906.rs
blob: a871b118dcc5265d3df78752affde7908eefacaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// check-pass
// revisions: full min
#![cfg_attr(full, feature(const_generics))]
#![cfg_attr(full, allow(incomplete_features))]

pub struct Tuple;

pub trait Trait<const I: usize> {
    type Input: From<<Self as Trait<I>>::Input>;
}

fn main() {}