summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/issues/issue-70167.rs
blob: 3961941f81fa97d3ba9fcb693207fc5b1ffcdc90 (plain)
1
2
3
4
5
6
// check-pass
pub trait Trait<const N: usize>: From<<Self as Trait<N>>::Item> {
  type Item;
}

fn main() {}