mirror of https://github.com/rust-lang/rust
15 lines
490 B
Plaintext
15 lines
490 B
Plaintext
error[E0308]: mismatched types
|
|
--> $DIR/verbose.rs:7:28
|
|
|
|
|
LL | let _: Foo<u32, i32> = Foo::<i32, i32> { x: 0, y: 0 };
|
|
| ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Foo<u32, i32>`, found `Foo<i32, i32>`
|
|
| |
|
|
| expected due to this
|
|
|
|
|
= note: expected struct `Foo<u32, _>`
|
|
found struct `Foo<i32, _>`
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|