rust-lang/rust — pull request #17543 by pcwalton (2014-09-25 23:31:49+00:00)
Title: librustc: Implement the unboxed closure trait hierarchy.

This makes `FnMut` require `FnOnce` and `Fn` require `FnMut`. Therefore,
this change breaks code that implements the `FnMut` and/or `Fn` traits
directly, without also implementing their dependencies. A simple
forwarding implementation that defines `FnOnce` in terms of `FnMut`
and/or `Fn` in terms of `FnMut` will suffice.

This does not affect code that simply uses the `|&:|`/`|&mut:|`/`|:|`
unboxed closure construction notation.

Part of RFC #44; needed to implement RFC #63.

Part of issue #12831.

[breaking-change]

r? @nikomatsakis