Closed
Description
Instead of using notes for expected type/found type information when there are type mismatches, present something closer to:
error[E0308]: mismatched types
--> ../../src/test/ui/mismatched_types/issue-38371.rs:26:9
|
26 | fn agh(&&bar: &u32) {
| ^^^^ expected u32, found reference
|
= expected type `u32`
= found type `&_`
Metadata
Metadata
Assignees
Labels
No labels