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

Opt into field bounds when deriving ToCss, instead of opting out #20237

Merged
merged 4 commits into from Mar 8, 2018

Conversation

@nox
Copy link
Member

nox commented Mar 8, 2018

This change is Reviewable

@highfive
Copy link

highfive commented Mar 8, 2018

Heads up! This PR modifies the following files:

  • @bholley: components/style/values/generics/border.rs, components/style/values/generics/transform.rs, components/style/values/generics/font.rs, components/style/values/generics/svg.rs, components/style/values/generics/basic_shape.rs
  • @canaltinova: components/style/values/generics/border.rs, components/style/values/generics/transform.rs, components/style/values/generics/font.rs, components/style/values/generics/svg.rs, components/style/values/generics/basic_shape.rs
  • @emilio: components/style/values/generics/border.rs, components/style/values/generics/transform.rs, components/style/values/generics/font.rs, components/style/values/generics/svg.rs, components/style/values/generics/basic_shape.rs
@highfive
Copy link

highfive commented Mar 8, 2018

warning Warning warning

  • These commits modify style code, but no tests are modified. Please consider adding a test!
@emilio
emilio approved these changes Mar 8, 2018
pub fn add_predicate(
where_clause: &mut Option<syn::WhereClause>,
pred: WherePredicate,
) {

This comment has been minimized.

@emilio

emilio Mar 8, 2018

Member
where_clause.or_insert_with(|| parse_quote!(where)).push(pred)
@nox nox force-pushed the derive-all-the-things branch from 17e4404 to 42fd479 Mar 8, 2018
@nox
Copy link
Member Author

nox commented Mar 8, 2018

@bors-servo r=emilio

@bors-servo
Copy link
Contributor

bors-servo commented Mar 8, 2018

📌 Commit 42fd479 has been approved by emilio

@highfive highfive assigned emilio and unassigned metajack Mar 8, 2018
@bors-servo
Copy link
Contributor

bors-servo commented Mar 8, 2018

🔒 Merge conflict

@bors-servo
Copy link
Contributor

bors-servo commented Mar 8, 2018

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

@nox nox force-pushed the derive-all-the-things branch from 42fd479 to 5bc8db7 Mar 8, 2018
nox added 4 commits Mar 8, 2018
Now that #[derive(ToCss)] unconditionally bounds type params, we can derive
the trait for Transform<T>.
@nox nox force-pushed the derive-all-the-things branch from 5bc8db7 to 2074e89 Mar 8, 2018
@nox
Copy link
Member Author

nox commented Mar 8, 2018

@bors-servo r=emilio

@bors-servo
Copy link
Contributor

bors-servo commented Mar 8, 2018

📌 Commit 2074e89 has been approved by emilio

@bors-servo
Copy link
Contributor

bors-servo commented Mar 8, 2018

Testing commit 2074e89 with merge b6de056...

bors-servo added a commit that referenced this pull request Mar 8, 2018
Opt into field bounds when deriving ToCss, instead of opting out

<!-- 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/20237)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Mar 8, 2018

@bors-servo bors-servo merged commit 2074e89 into master Mar 8, 2018
4 of 5 checks passed
4 of 5 checks passed
Taskcluster (pull_request) TaskGroup: failure
Details
Tidelift Dependencies checked
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
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

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