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

7 lines
110 B
Rust

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