]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #99351 - compiler-errors:arg-mismatch-blame, r=davidtwco
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Mon, 18 Jul 2022 15:44:47 +0000 (21:14 +0530)
committerGitHub <noreply@github.com>
Mon, 18 Jul 2022 15:44:47 +0000 (21:14 +0530)
commit60c1068c924d5dacaa2bebb4427cf5aaca9577e9
tree5f04376b20e0787a77af661c332f3d0785831c42
parentaffdcd6cef020ca7a110c3b954214486a0727b85
parent75a1b1cf066b36decf39f4d5036c0b1aae53c680
Rollup merge of #99351 - compiler-errors:arg-mismatch-blame, r=davidtwco

Use `typeck_results` to get accurate qpath res for arg mismatch error

Improves error message from "function"  to actually what we're calling (e.g. enum variant constrcutor) in a few cases :smile_cat: