]> git.proxmox.com Git - rustc.git/blame - src/test/ui/fully-qualified-type/fully-qualified-type-name2.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / fully-qualified-type / fully-qualified-type-name2.stderr
CommitLineData
b7449926 1error[E0308]: mismatched types
0731742a 2 --> $DIR/fully-qualified-type-name2.rs:12:12
b7449926 3 |
9fa01778
XL
4LL | fn bar(x: x::Foo) -> y::Foo {
5 | ------ expected `y::Foo` because of return type
b7449926 6LL | return x;
0731742a 7 | ^ expected enum `y::Foo`, found enum `x::Foo`
b7449926
XL
8
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0308`.