summary refs log tree commit diff
path: root/src/test/ui/const-generics/issues/issue-66906.rs
blob: 461fe837dac44a105c8d55ab3cde18cbc9a9f660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// check-pass

#![feature(const_generics)]
//~^ WARN the feature `const_generics` is incomplete and may cause the compiler to crash

pub struct Tuple;

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

fn main() {}