rust-lang/rust — pull request #18022 by nikomatsakis (2014-10-13 23:56:52+00:00)
Title: Avoid false ambiguity in multidispatch trait resolution

Only consider impliciy unboxed closure impl if the obligation is actually for `Fn`, `FnMut`, or `FnOnce`.

Fixes #18019

r? @pcwalton