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

11 lines
195 B
Rust
Raw Normal View History

// build-pass (FIXME(62277): could be 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() {}