summaryrefslogtreecommitdiffstats
path: root/src/test/ui/const-generics/issues/issue-66906.rs
blob: a0b3f91220710ac003cd6aed43cfd61187dbd412 (plain)
1
2
3
4
5
6
7
8
9
// check-pass

pub struct Tuple;

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

fn main() {}