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-10 02:01:17 +00:00
struct S<I: Iterator>(I);
struct T(S<u8>);
2018-11-27 09:56:36 +00:00
//~^ ERROR is not an iterator
2018-10-10 02:01:17 +00:00
fn main() {}