]> git.lizzy.rs Git - rust.git/commit
Expansion should explicitly include enum
authorCorey Farwell <coreyf@rwell.org>
Sat, 13 Dec 2014 14:56:13 +0000 (09:56 -0500)
committerCorey Farwell <coreyf@rwell.org>
Sat, 13 Dec 2014 14:57:46 +0000 (09:57 -0500)
commit3fc6dc95b40d417c8248e2c843b18533bb703ebd
tree845b181561392413392d742e70b46e7b29fe3241
parent1eccb54bd61c666a38874e6ddaa1f16fa6e3d0fd
Expansion should explicitly include enum

In preparation for removing the std::cmp::Ordering reexport, this needs
to be done to prevent errors like:

```
note: in expansion of #[deriving]
note: expansion site
error: unresolved name `std::cmp::Equal`
\#[deriving(Clone, PartialEq, PartialOrd, Eq, Ord, Show)]
                                              ^~~
```
src/libsyntax/ext/deriving/cmp/totalord.rs