]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0308]: mismatched types |
0731742a | 2 | --> $DIR/fully-qualified-type-name2.rs:12:12 |
b7449926 | 3 | | |
9fa01778 XL |
4 | LL | fn bar(x: x::Foo) -> y::Foo { |
5 | | ------ expected `y::Foo` because of return type | |
b7449926 | 6 | LL | return x; |
0731742a | 7 | | ^ expected enum `y::Foo`, found enum `x::Foo` |
b7449926 XL |
8 | |
9 | error: aborting due to previous error | |
10 | ||
11 | For more information about this error, try `rustc --explain E0308`. |