mirror of
https://github.com/rust-lang/rust
synced 2024-09-06 01:11:17 +00:00
![jyn](/assets/img/avatar_default.png)
this also changes some parts of lifetime printing, which previously were not gated behind `-Z verbose`
15 lines
494 B
Plaintext
15 lines
494 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, i32>`
|
|
found struct `Foo<i32, i32>`
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|