Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSwitch to serde_derive #13582
Switch to serde_derive #13582
Conversation
highfive
commented
Oct 4, 2016
|
Heads up! This PR modifies the following files:
|
highfive
commented
Oct 4, 2016
|
|
|
r+ |
|
@bors-servo r=Manishearth |
|
|
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 -->
|
|
|
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.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
nox
Oct 8, 2016
Author
Member
Why would I do this? The negative values have no reason to exist AFAICT.
|
r+ |
|
@bors-servo r=Manishearth |
|
|
|
|
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 -->
|
|
|
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 |
nox commentedOct 4, 2016
•
edited by larsbergstrom
This change is