1 error[E0308]: mismatched types
2 --> $DIR/fully-qualified-type-name4.rs:6:12
4 LL | fn bar(x: usize) -> Option<usize> {
5 | ------------- expected `Option<usize>` because of return type
7 | ^ expected enum `Option`, found `usize`
9 = note: expected enum `Option<usize>`
11 help: try wrapping the expression in `Some`
16 error: aborting due to previous error
18 For more information about this error, try `rustc --explain E0308`.