mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 16:57:03 +00:00
11 lines
159 B
Rust
11 lines
159 B
Rust
pub trait Subscriber {
|
|
type Input;
|
|
}
|
|
|
|
pub trait Processor: Subscriber<Input = Self::Input> {
|
|
//~^ ERROR cycle detected
|
|
type Input;
|
|
}
|
|
|
|
fn main() {}
|