rust/tests/ui/iterators/bound.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
86 B
Rust
Raw Normal View History

2018-10-09 21:01:17 -05:00
struct S<I: Iterator>(I);
struct T(S<u8>);
2018-11-27 03:56:36 -06:00
//~^ ERROR is not an iterator
2018-10-09 21:01:17 -05:00
fn main() {}