]> git.lizzy.rs Git - rust.git/commit
Allow closure arguments types to unify even if we can't fully resolve
authorNiko Matsakis <niko@alum.mit.edu>
Mon, 2 Feb 2015 16:52:08 +0000 (11:52 -0500)
committerNiko Matsakis <niko@alum.mit.edu>
Tue, 3 Feb 2015 16:55:45 +0000 (11:55 -0500)
commitc9e1c445dbcbfc9c938488a79ef12595e0f99c8d
treef98110e619682ecfb0bc34b4adce7b29f318c41a
parent3d072a193bfcb76206aab576049e696d6d8db25d
Allow closure arguments types to unify even if we can't fully resolve
a trait obligation. Partial fix for #16440 -- closure return types are
not handled yet.
src/librustc/middle/traits/select.rs
src/test/run-pass/closure-inference.rs