rust/src/test/ui/issues/issue-20825-2.rs

11 lines
158 B
Rust
Raw Normal View History

// check-pass
2015-07-18 17:03:30 -05:00
pub trait Subscriber {
type Input;
}
pub trait Processor: Subscriber<Input = <Self as Processor>::Input> {
type Input;
}
fn main() {}