]> git.lizzy.rs Git - rust.git/commit
Point at method call on missing annotation error
authorEsteban Küber <esteban@kuber.com.ar>
Sun, 25 Aug 2019 20:34:57 +0000 (13:34 -0700)
committerEsteban Küber <esteban@kuber.com.ar>
Sun, 25 Aug 2019 20:39:11 +0000 (13:39 -0700)
commit8458eba41bb1ae7848143f33c610b59e9614ec9b
treec69ae79091b69e2281f4c811c3db844b43d80663
parent7b0085a613e69cb69fc9e4eb5d422fa4a39d5de1
Point at method call on missing annotation error

Make it clearer where the type name that couldn't be infered comes from.
src/librustc/infer/error_reporting/need_type_info.rs
src/librustc_mir/borrow_check/nll/region_infer/error_reporting/region_name.rs
src/test/ui/span/issue-42234-unknown-receiver-type.stderr
src/test/ui/span/type-annotations-needed-expr.rs [new file with mode: 0644]
src/test/ui/span/type-annotations-needed-expr.stderr [new file with mode: 0644]