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

7 lines
109 B
Rust
Raw Normal View History

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