1 error[E0107]: missing generics for struct `Vec`
2 --> $DIR/issue-92305.rs:5:45
4 LL | fn f<T>(data: &[T]) -> impl Iterator<Item = Vec> {
5 | ^^^ expected at least 1 generic argument
7 note: struct defined here, with at least 1 generic parameter: `T`
8 --> $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
10 LL | pub struct Vec<T, #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global> {
12 help: add missing generic argument
14 LL | fn f<T>(data: &[T]) -> impl Iterator<Item = Vec<T>> {
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0107`.