]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #73353 - davidtwco:issue-73003-non-structural-match-ty-closures,...
authorRalf Jung <post@ralfj.de>
Mon, 15 Jun 2020 07:57:37 +0000 (09:57 +0200)
committerGitHub <noreply@github.com>
Mon, 15 Jun 2020 07:57:37 +0000 (09:57 +0200)
commitbca9e90f9f190ed94033d674f195b141dbaf5ec6
treeee93f480df9d8ad03f2db0ba17150ae98d54072a
parent192e9bde804932f7c35d366d9fc939d7b3adafa3
parent79e08bbc9949001306ce1014432efff3b1ecaf11
Rollup merge of #73353 - davidtwco:issue-73003-non-structural-match-ty-closures, r=varkor

structural_match: non-structural-match ty closures

Fixes #73003.

This PR adds a `Closure` variant to `NonStructuralMatchTy` in `structural_match`, fixing an ICE which can occur when `impl_trait_in_bindings` is used with constants.