Open lcnr opened 8 months ago
-Znext-solver
#![feature(try_blocks)] fn consume<T>(_: Result<T, T>) -> T { todo!() } fn main() { consume(try {}); }
currently results in
error[E0284]: type annotations needed: cannot satisfy `<Result<(), _> as Try>::Output == ()` --> <source>:7:18 | 7 | consume(try {}); | ^ cannot satisfy `<Result<(), _> as Try>::Output == ()`
-Znext-solver
currently results in