rust/tests/ui/const-generics/issues/issue-66906.rs

10 lines
134 B
Rust

//@ check-pass
pub struct Tuple;
pub trait Trait<const I: usize> {
type Input: From<<Self as Trait<I>>::Input>;
}
fn main() {}