1 error[E0282]: type annotations needed for `RaceBuilder<T, Never<T>>`
2 --> $DIR/issue-84073.rs:32:16
4 LL | Race::new(|race| race.when());
7 help: consider giving this closure parameter an explicit type, where the type for type parameter `T` is specified
9 LL | Race::new(|race: RaceBuilder<T, Never<T>>| race.when());
10 | ++++++++++++++++++++++++++
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0282`.