-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Switch to serde_derive #13582
Conversation
Heads up! This PR modifies the following files:
|
☔ The latest upstream changes (presumably #13459) made this pull request unmergeable. Please resolve the merge conflicts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r+
@bors-servo r=Manishearth |
📌 Commit 84700c3 has been approved by |
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 -->
💔 Test failed - linux-rel-css |
syn, and thus serde_derive, cannot cope with them.
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, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
file a bug about undoing this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why would I do this? The negative values have no reason to exist AFAICT.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r+
@bors-servo r=Manishearth |
📌 Commit df51772 has been approved by |
⌛ Testing commit df51772 with merge 5492051... |
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 -->
💔 Test failed - windows-dev |
According to @eddyb, this is fixed in a rustup. Closing this PR, will include the switch to serde_derive in the rustup. |
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 |
This change is