rust/tests/ui/iterators/bound.rs
2023-01-11 09:32:08 +00:00

5 lines
86 B
Rust

struct S<I: Iterator>(I);
struct T(S<u8>);
//~^ ERROR is not an iterator
fn main() {}