servo/components
bors-servo 3f2d747689 Auto merge of #17514 - HarveyHunt:deny-public-fields-error-message, r=jdm
deny_public_fields: display field identifier in help message

Use a binding's field identifier to produce more descriptive output.
Fall back to a binding's identifier if a field identifier is not
available.

Additionally, make the privatize.rs compiletest more specific and
wrap the identifier in backticks to aid readability.

As an aside, should I send a PR to rename ```compile-fail/privatize.rs``` to ```compile-fail/deny_public_fields.rs``` as privatize isn't mentioned in the codebase any more?

```
$ find . -name "*privatize*"
./tests/compiletest/plugin/compile-fail/privatize.rs
```

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #17438 (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- 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/17514)
<!-- Reviewable:end -->
2017-06-25 10:45:42 -07:00
..
atoms Bump serde to 1.0 2017-06-16 13:31:18 +02:00
bluetooth Untry 2017-06-18 13:21:51 +02:00
bluetooth_traits Remove explicit dependencies on serde_derive 2017-06-16 13:58:21 +02:00
canvas Bump cssparser version to 0.16.1 in toml files 2017-06-22 15:44:03 -07:00
canvas_traits Bump cssparser version to 0.16.1 in toml files 2017-06-22 15:44:03 -07:00
compositing Improve decisions in compositor over when to draw a frame. 2017-06-20 08:47:14 +10:00
config Untry 2017-06-18 13:21:51 +02:00
constellation Update clipboard to 0.4 2017-06-20 00:29:28 +02:00
debugger
deny_public_fields deny_public_fields: display field identifier in help message 2017-06-25 18:12:43 +01:00
devtools Untry 2017-06-18 13:21:51 +02:00
devtools_traits Remove explicit dependencies on serde_derive 2017-06-16 13:58:21 +02:00
dom_struct
domobject_derive
geometry Bump serde to 1.0 2017-06-16 13:31:18 +02:00
gfx Use generics for the filter property 2017-06-20 13:48:53 +02:00
gfx_traits Remove explicit dependencies on serde_derive 2017-06-16 13:58:21 +02:00
jstraceable_derive
layout remove various things now that Rust 1.17 is required 2017-06-23 10:39:41 -04:00
layout_thread Passing ProfilerChan by reference to the send_profile_data method. 2017-06-25 14:29:44 +02:00
layout_traits Bump serde to 1.0 2017-06-16 13:31:18 +02:00
msg Remove explicit dependencies on serde_derive 2017-06-16 13:58:21 +02:00
net Introduce service-worker mode 2017-06-22 23:48:07 -07:00
net_traits Introduce service-worker mode 2017-06-22 23:48:07 -07:00
profile Remove explicit dependencies on serde_derive 2017-06-16 13:58:21 +02:00
profile_traits Passing ProfilerChan by reference to the send_profile_data method. 2017-06-25 14:29:44 +02:00
rand
range Remove explicit dependencies on serde_derive 2017-06-16 13:58:21 +02:00
remutex Upgrade to rustc 1.19.0-nightly (ced823e26 2017-05-07) 2017-05-08 12:46:03 +02:00
script Auto merge of #17515 - frewsxcv:frewsxcv-simple-node-iterator, r=KiChjang 2017-06-25 00:38:23 -07:00
script_layout_interface Auto merge of #17481 - jryans:move-rule-node, r=bholley 2017-06-22 17:46:55 -07:00
script_plugins Update Rust nightly to 1.19.0-nightly (2416e222e 2017-06-09) 2017-06-09 11:12:42 +02:00
script_traits Untry 2017-06-18 13:21:51 +02:00
selectors Correct bloom hash bitpacking documentation 2017-06-22 21:26:14 -04:00
servo Bump serde to 1.0 2017-06-16 13:31:18 +02:00
servo_arc remove various things now that Rust 1.17 is required 2017-06-23 10:39:41 -04:00
size_of_test Add size_of_test crate 2017-05-16 10:12:51 +02:00
style style: Fix rem computation on the root element. 2017-06-25 02:45:56 +02:00
style_derive Simplify machinery to serialise optional parts of CSS values 2017-06-21 11:17:22 +02:00
style_traits Bump cssparser version to 0.16.1 in toml files 2017-06-22 15:44:03 -07:00
url Untry 2017-06-18 13:21:51 +02:00
webdriver_server Untry 2017-06-18 13:21:51 +02:00
webvr Bump serde to 1.0 2017-06-16 13:31:18 +02:00
webvr_traits Remove explicit dependencies on serde_derive 2017-06-16 13:58:21 +02:00