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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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