]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/typeck/issue-46112.stderr
Auto merge of #107663 - matthiaskrgr:107423-point-at-EOF-code, r=compiler-errors
[rust.git] / tests / ui / typeck / issue-46112.stderr
index 8f5ff51fbe1007cb7e77aa405625b059df75ed5f..26fc21dda06ae503bc1873ae4b532d5f35d04da0 100644 (file)
@@ -2,7 +2,7 @@ error[E0308]: mismatched types
   --> $DIR/issue-46112.rs:9:21
    |
 LL | fn main() { test(Ok(())); }
-   |                  -- ^^ expected enum `Option`, found `()`
+   |                  -- ^^ expected `Option<()>`, found `()`
    |                  |
    |                  arguments to this enum variant are incorrect
    |