rust/tests/ui/type/verbose.verbose.stderr
jyn cb6d033316 don't elide shared parts of types in diagnostics when --verbose is passed
this also changes some parts of lifetime printing, which previously were not gated behind `-Z verbose`
2023-12-24 16:47:18 -05:00

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`.