Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expansion should explicitly include enum #19812

Merged
merged 1 commit into from
Dec 15, 2014

Conversation

frewsxcv
Copy link
Member

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)]
                                             ^~~

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)]
                                              ^~~
```
bors added a commit that referenced this pull request Dec 14, 2014
Expansion should explicitly include enum

Reviewed-by: alexcrichton
brson added a commit to brson/rust that referenced this pull request Dec 15, 2014
In preparation for [removing the `std::cmp::Ordering` reexport](rust-lang#19253), 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)]
                                             ^~~
```
@bors bors merged commit 3fc6dc9 into rust-lang:master Dec 15, 2014
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Dec 22, 2014
Part of rust-lang#19253

I would have removed this public reexport in rust-lang#19842, but rust-lang#19812 hadn't merged (and snapshotted) at the time

In rust-lang#19407, I changed the codebase to stop utilizing this reexport

[breaking-change]
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Dec 22, 2014
Part of rust-lang#19253

I would have removed this public reexport in rust-lang#19842, but rust-lang#19812 hadn't merged (and snapshotted) at the time

In rust-lang#19407, I changed the codebase to stop utilizing this reexport

[breaking-change]
@frewsxcv frewsxcv deleted the expansion-include-enum branch October 2, 2016 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants