]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/inference/cannot-infer-partial-try-return.stderr
Rollup merge of #107348 - lcnr:project-solve-new, r=compiler-errors
[rust.git] / tests / ui / inference / cannot-infer-partial-try-return.stderr
index 2a56aaa44fef23b3ae435b47451aa9e7986f4769..888c321bc479b8269d1c87b8a22fa8ca7a6be61f 100644 (file)
@@ -1,8 +1,6 @@
 error[E0282]: type annotations needed
   --> $DIR/cannot-infer-partial-try-return.rs:20:9
    |
-LL |         infallible()?;
-   |         ------------- type must be known at this point
 LL |         Ok(())
    |         ^^ cannot infer type of the type parameter `E` declared on the enum `Result`
    |