summaryrefslogtreecommitdiffstats
path: root/tests/ui/iterators/bound.rs
blob: bdd99ef8d17c08ccf9de5fdc9c997524fcf75479 (plain)
1
2
3
4
struct S<I: Iterator>(I);
struct T(S<u8>);
//~^ ERROR is not an iterator
fn main() {}