rust/tests/ui/const-generics/issues/issue-66906.rs
2023-01-11 09:32:08 +00:00

10 lines
133 B
Rust

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