Extend E0308 inference blame span machinery to detect vec.push(val)
as a cause
#106355
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code:
The current output is:
The error should point at line 6, where the type of
foo
is resolved to beVec<&i32>
, along the lines ofhttps://hachyderm.io/@jameydev/109615629656869242
The text was updated successfully, but these errors were encountered: