]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #66222 - Aaron1011:fix/opaque-closure, r=pnkfelix
authorTyler Mandry <tmandry@gmail.com>
Wed, 27 Nov 2019 21:28:31 +0000 (15:28 -0600)
committerGitHub <noreply@github.com>
Wed, 27 Nov 2019 21:28:31 +0000 (15:28 -0600)
commitb92b7052b711c2097565816797347e1652be08fa
tree28230beb4343d61b4194609e8b642481f3ce5149
parentcb2deb8a9f71c3c47cbc61b41f67e8eba9ccad4d
parente8d55d0a43640cd4bdff98b59e962fba006fb819
Rollup merge of #66222 - Aaron1011:fix/opaque-closure, r=pnkfelix

Use `eq_opaque_type_and_type` when type-checking closure signatures

This handles the case where a user explicitly annotations a closure
signature with a opaque return type.

Fixes #63263