Input code
fn parse_data(data: &str) -> impl Iterator<Item = Vec<isize>> + use<'_> {
data.lines().map(|x| {
x.split_ascii_whitespace()
.map(|y| { y.parse::<isize>().expect("I thought this was a number") })
.collect::<Vec<isize>>()
})
}
Output code
fn parse_data(data: &str) -> impl Iterator<Item = Vec<isize>> + use<'_> {
data.lines().map(|x| {
x.split_ascii_whitespace()
.map(|y| { y.parse::<isize>().expect("I thought this was a number") })
.collect::<Vec<isize>>()
})
}
Additional context
Says use is unexpected:

Input code
Output code
Additional context
Says

useis unexpected: