about summary refs log tree commit diff
path: root/tests/ui/const-generics/issues/issue-66906.rs
blob: 8836da84a383953dfdfac97f717f0aa857a3d5c0 (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() {}