]> git.lizzy.rs Git - rust.git/commit
Switch from using At::eq to InferCtxt::can_eq and demand_eqtype_with_origin
authorMichael Hewson <michael@michaelhewson.ca>
Wed, 8 Nov 2017 13:28:36 +0000 (08:28 -0500)
committerMichael Hewson <michael@michaelhewson.ca>
Wed, 8 Nov 2017 13:28:36 +0000 (08:28 -0500)
commitbbe755c7a6b20c1340ef1d86fb30d4b91b81450e
tree90b13b06ec9bfc2875b9c076f3745dbbc2d3af24
parent236974619f79661e4f58669c385279f46c6830cf
Switch from using At::eq to InferCtxt::can_eq and demand_eqtype_with_origin

I doubt this changes anything, I was just trying to fix an issue with
error messages and ended up doing this along with other things.
Committing it separately so I can undo it easily.
src/librustc_typeck/check/wfcheck.rs