about summary refs log tree commit diff
path: root/src/test/ui/span/method-and-field-eager-resolution.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-31/+0
2022-12-13review commentsEsteban Küber-6/+6
2022-12-13Suggest `: Type` instead of `: _`Esteban Küber-6/+6
2022-12-13Suggest `collect`ing into `Vec<_>`Esteban Küber-2/+2
2022-07-01Only label place where type is needed if span is meaningfulMichael Goulet-2/+6
2022-06-02add new `emit_inference_failure_err`lcnr-8/+12
2018-12-25Remove licensesMark Rousskov-2/+2
2018-07-20Reword when `_` couldn't be inferredEsteban Küber-2/+2
2018-05-13Improve eager type resolution error messageleonardo.yvens-0/+23
This PR improves the span of eager resolution type errors referring to indexing and field access to use the base span rather than the whole expression. Also a note "Type must be known at this point." is added to where we at some point in the past emitted the "type must be known at this context" error, so that early failures can be differentiated and will hopefully be less surprising. Fixes #50692 (or at least does the best we can for the moment) r? @estebank