summary refs log tree commit diff
path: root/src/test/ui/issue-46112.stderr
blob: b9b87a941fd27118c75ad43af7deff26cbfb0e8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0308]: mismatched types
  --> $DIR/issue-46112.rs:19:21
   |
19 | fn main() { test(Ok(())); }
   |                     ^^
   |                     |
   |                     expected enum `std::option::Option`, found ()
   |                     help: try using a variant of the expected type: `Some(())`
   |
   = note: expected type `std::option::Option<()>`
              found type `()`

error: aborting due to previous error