error[E0284]: type annotations needed --> $DIR/issue-69455.rs:29:26 | LL | type Output; | ------------ `>::Output` defined here ... LL | println!("{}", 23u64.test(xs.iter().sum())); | ------^^^^----------------- | | | | | cannot infer type for type `u64` | this method call resolves to `>::Output` | = note: cannot satisfy `>::Output == _` error: aborting due to previous error For more information about this error, try `rustc --explain E0284`.