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