blob: b388f38a7fac70b928f7d89c6633acf6de422f60 [file] [log] [blame]
error[E0308]: mismatched types
--> $DIR/fully-qualified-type-name4.rs:6:12
|
LL | fn bar(x: usize) -> Option<usize> {
| ------------- expected `std::option::Option<usize>` because of return type
LL | return x;
| ^ expected enum `std::option::Option`, found `usize`
|
= note: expected enum `std::option::Option<usize>`
found type `usize`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.