rust/tests/ui/const-generics/issues/issue-66906.rs
2024-02-16 20:02:50 +00:00

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() {}