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

Switch to serde_derive #13582

Closed
wants to merge 2 commits into from
Closed

Switch to serde_derive #13582

wants to merge 2 commits into from

Conversation

@nox
Copy link
Member

nox commented Oct 4, 2016

This change is Reviewable

@highfive
Copy link

highfive commented Oct 4, 2016

Heads up! This PR modifies the following files:

  • @bholley: components/style/Cargo.toml, components/style/lib.rs
  • @asajeffrey: components/constellation/lib.rs, components/constellation/Cargo.toml
  • @fitzgen: components/devtools_traits/Cargo.toml, components/devtools_traits/Cargo.toml, components/profile/Cargo.toml, components/profile_traits/Cargo.toml, components/profile_traits/Cargo.toml, components/devtools/Cargo.toml, components/devtools/lib.rs, components/profile_traits/lib.rs, components/profile_traits/lib.rs, components/devtools_traits/lib.rs, components/devtools_traits/lib.rs, components/profile/lib.rs
  • @KiChjang: components/script/Cargo.toml, components/script_traits/lib.rs, components/script_traits/lib.rs, components/net_traits/lib.rs, components/net_traits/lib.rs, components/net/Cargo.toml, components/net_traits/Cargo.toml, components/net_traits/Cargo.toml, components/script_traits/Cargo.toml, components/script_traits/Cargo.toml
@highfive
Copy link

highfive commented Oct 4, 2016

warning Warning warning

  • These commits modify net, style, layout, gfx, and script code, but no tests are modified. Please consider adding a test!
@bors-servo
Copy link
Contributor

bors-servo commented Oct 4, 2016

The latest upstream changes (presumably #13459) made this pull request unmergeable. Please resolve the merge conflicts.

@nox
Copy link
Member Author

nox commented Oct 4, 2016

@nox
Copy link
Member Author

nox commented Oct 4, 2016

@nox
Copy link
Member Author

nox commented Oct 5, 2016

@nox nox force-pushed the nox:derive branch from 095ca09 to bf23a13 Oct 7, 2016
@nox nox changed the title (Do not merge) Switch to serde_derive Switch to serde_derive Oct 7, 2016
Copy link
Member

Manishearth left a comment

r+

@nox nox force-pushed the nox:derive branch from bf23a13 to 84700c3 Oct 7, 2016
@nox
Copy link
Member Author

nox commented Oct 7, 2016

@bors-servo r=Manishearth

@bors-servo
Copy link
Contributor

bors-servo commented Oct 7, 2016

📌 Commit 84700c3 has been approved by Manishearth

@bors-servo
Copy link
Contributor

bors-servo commented Oct 7, 2016

Testing commit 84700c3 with merge 7bffab1...

bors-servo added a commit that referenced this pull request Oct 7, 2016
Switch to serde_derive

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13582)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 7, 2016

💔 Test failed - linux-rel-css

nox added 2 commits Oct 7, 2016
syn, and thus serde_derive, cannot cope with them.
@nox nox force-pushed the nox:derive branch from 84700c3 to df51772 Oct 7, 2016
@nox
Copy link
Member Author

nox commented Oct 7, 2016

The first commit fixes the bug discovered in dtolnay/syn#31.

@@ -1469,16 +1469,16 @@ pub fn parse_border_width(input: &mut Parser) -> Result<Length, ()> {
// The integer values here correspond to the border conflict resolution rules in CSS 2.1 §
// 17.6.2.1. Higher values override lower values.
define_numbered_css_keyword_enum! { BorderStyle:
"none" => none = -1,

This comment has been minimized.

@Manishearth

Manishearth Oct 8, 2016

Member

file a bug about undoing this

This comment has been minimized.

@nox

nox Oct 8, 2016

Author Member

Why would I do this? The negative values have no reason to exist AFAICT.

Copy link
Member

Manishearth left a comment

r+

@nox
Copy link
Member Author

nox commented Oct 8, 2016

@bors-servo r=Manishearth

@bors-servo
Copy link
Contributor

bors-servo commented Oct 8, 2016

📌 Commit df51772 has been approved by Manishearth

@bors-servo
Copy link
Contributor

bors-servo commented Oct 8, 2016

Testing commit df51772 with merge 5492051...

bors-servo added a commit that referenced this pull request Oct 8, 2016
Switch to serde_derive

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13582)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 8, 2016

💔 Test failed - windows-dev

@nox
Copy link
Member Author

nox commented Oct 8, 2016

According to @eddyb, this is fixed in a rustup. Closing this PR, will include the switch to serde_derive in the rustup.

@nox nox closed this Oct 8, 2016
@nox nox deleted the nox:derive branch Oct 8, 2016
@eddyb
Copy link
Contributor

eddyb commented Oct 8, 2016

I didn't say it was. Only was curious if I was the cause of a new bug. If the context is macros 1.1 then it makes much more sense that the cause would be somewhere in there. Maybe it is fixed already on master, but idk for sure. cc @alexcrichton @nrc

@nox
Copy link
Member Author

nox commented Oct 8, 2016

@eddyb Anyway, this is never going to merge without a rustup, and a rustup depends on this change too, so this PR is worthless on its own. :) Opened and tried #13649.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

6 participants
You can’t perform that action at this time.