1 error[E0277]: `()` is not an iterator
2 --> $DIR/conservative_impl_trait.rs:3:33
4 LL | fn will_ice(something: &u32) -> impl Iterator<Item = &u32> {
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `()` is not an iterator
7 = help: the trait `Iterator` is not implemented for `()`
9 error[E0277]: `()` is not an iterator
10 --> $DIR/conservative_impl_trait.rs:3:60
12 LL | fn will_ice(something: &u32) -> impl Iterator<Item = &u32> {
13 | ____________________________________________________________^
17 | |_^ `()` is not an iterator
19 = help: the trait `Iterator` is not implemented for `()`
21 error: aborting due to 2 previous errors
23 For more information about this error, try `rustc --explain E0277`.