fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: `()` is not an iterator 2 --> $DIR/issue-108072-unmet-trait-alias-bound.rs:10:7 3 | 4LL | f(()) 5 | - ^^ `()` is not an iterator 6 | | 7 | required by a bound introduced by this call 8 | 9 = help: the trait `Iterator` is not implemented for `()` 10 = note: required for `()` to implement `IteratorAlias` 11note: required by a bound in `f` 12 --> $DIR/issue-108072-unmet-trait-alias-bound.rs:7:14 13 | 14LL | fn f(_: impl IteratorAlias) {} 15 | ^^^^^^^^^^^^^ required by this bound in `f` 16 17error: aborting due to previous error 18 19For more information about this error, try `rustc --explain E0277`.