servo/components
bors-servo ebd59ef4f4
Auto merge of #24319 - servo:webidl-lint, r=jdm
Remove redundant webidl_must_inherit compiler plugin lint

At first I was considering moving it to a procedural macro (source-level information should be sufficient), and started by trying to reproduce the error case by changing `htmldivelement.rs` to use `Element` instead of `HTMLElement` as the first field.

The output was:

```rust
error[E0308]: mismatched types
   --> /home/simon/servo2/target/debug/build/script-4caa244faca7d10f/out/Bindings/HTMLDivElementBinding.rs:665:31
    |
665 |         let _: &HTMLElement = self.as_parent();
    |                               ^^^^^^^^^^^^^^^^ expected struct `dom::htmlelement::HTMLElement`, found struct `dom::element::Element`
    |
    = note: expected type `&dom::htmlelement::HTMLElement`
               found type `&dom::element::Element`
```

This line number is inside a generated method called `__assert_parent_type`. As far as I can tell, any case where this lint would error is already caught by such methods. The lint is therefore redundant and can safely be removed.

<!-- 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/24319)
<!-- Reviewable:end -->
2019-09-30 14:47:18 -04:00
..
allocator
atoms Implement ElementClick wd command 2019-08-31 10:14:40 +03:00
background_hang_monitor Update and dedupe nix 2019-09-06 18:37:37 +02:00
bluetooth Update ipc-channel and related dependencies 2019-08-27 23:44:04 +02:00
bluetooth_traits Update ipc-channel and related dependencies 2019-08-27 23:44:04 +02:00
canvas Auto merge of #24242 - jdm:xr-webgllayer-format, r=asajeffrey,nox 2019-09-23 19:34:10 -04:00
canvas_traits webxr: Use the same texture format as the original GL context's framebuffer when creating an XR GL layer. 2019-09-20 01:28:22 -04:00
compositing Auto merge of #24058 - Eijebong:ipc-channel, r=jdm 2019-08-27 18:40:40 -04:00
config Remove explicit dependency on serde_derive 2019-09-27 17:43:37 +02:00
config_plugins Bump all in-tree components to syn 1 2019-09-27 13:29:55 +02:00
constellation Auto merge of #24058 - Eijebong:ipc-channel, r=jdm 2019-08-27 18:40:40 -04:00
debugger Update to url 2.0 2019-08-17 10:03:44 +02:00
deny_public_fields Bump all in-tree components to syn 1 2019-09-27 13:29:55 +02:00
derive_common Bump all in-tree components to syn 1 2019-09-27 13:29:55 +02:00
devtools Update ipc-channel and related dependencies 2019-08-27 23:44:04 +02:00
devtools_traits Update ipc-channel and related dependencies 2019-08-27 23:44:04 +02:00
dom_struct Remove redundant webidl_must_inherit compiler plugin lint 2019-09-29 23:11:40 +02:00
domobject_derive Bump all in-tree components to syn 1 2019-09-27 13:29:55 +02:00
embedder_traits Update ipc-channel and related dependencies 2019-08-27 23:44:04 +02:00
fallible
geometry
gfx Auto merge of #24308 - servo:synful, r=SimonSapin 2019-09-27 19:50:29 -04:00
gfx_traits Replace DisplayList::is_contentful with tracking during conversion to WR display lists 2019-09-06 17:15:53 +02:00
hashglobe
jstraceable_derive Bump all in-tree components to syn 1 2019-09-27 13:29:55 +02:00
layout Update html5ever to 0.24 2019-09-27 17:43:37 +02:00
layout_2020 Handle anonymous style in traverse_pseudo_element_contents 2019-09-23 20:32:16 +02:00
layout_thread Update html5ever to 0.24 2019-09-27 17:43:37 +02:00
layout_thread_2020 Update html5ever to 0.24 2019-09-27 17:43:37 +02:00
layout_traits Update ipc-channel and related dependencies 2019-08-27 23:44:04 +02:00
malloc_size_of Update html5ever to 0.24 2019-09-27 17:43:37 +02:00
media Update ipc-channel and related dependencies 2019-08-27 23:44:04 +02:00
metrics Replace DisplayList::is_contentful with tracking during conversion to WR display lists 2019-09-06 17:15:53 +02:00
msg Deduplicate parking_lot and friends by updating it to 0.9 2019-09-05 10:47:39 +02:00
net Move ResourceFetchTiming into Arc 2019-09-18 11:54:28 -04:00
net_traits Move ResourceFetchTiming into Arc 2019-09-18 11:54:28 -04:00
pixels
profile Update ipc-channel and related dependencies 2019-08-27 23:44:04 +02:00
profile_traits Update ipc-channel and related dependencies 2019-08-27 23:44:04 +02:00
rand Update rand to 0.6 2019-08-11 20:50:22 +02:00
range
remutex
script Auto merge of #24319 - servo:webidl-lint, r=jdm 2019-09-30 14:47:18 -04:00
script_layout_interface Update html5ever to 0.24 2019-09-27 17:43:37 +02:00
script_plugins Move script_plugins to a single file 2019-09-29 23:20:48 +02:00
script_traits Auto merge of #24090 - georgeroman:implement_element_click_wd_command, r=jdm 2019-09-04 12:25:50 -04:00
selectors style: Shutdown Servo's thread-pool in leak-checking builds, leak the atom table elsewhere. 2019-09-12 22:34:16 +02:00
servo Auto merge of #24280 - ferjm:webm, r=jdm 2019-09-25 07:51:18 -04:00
servo_arc
size_of_test
std_test_override
style Auto merge of #24303 - servo:script-codegen, r=nox 2019-09-30 05:23:19 -04:00
style_derive Bump all in-tree components to syn 1 2019-09-27 13:29:55 +02:00
style_traits style: Refactor grid types to preserve repeat() at computed value time and use cbindgen. 2019-08-15 16:58:44 +02:00
to_shmem
to_shmem_derive Bump all in-tree components to syn 1 2019-09-27 13:29:55 +02:00
url Update to url 2.0 2019-08-17 10:03:44 +02:00
webdriver_server Auto merge of #24090 - georgeroman:implement_element_click_wd_command, r=jdm 2019-09-04 12:25:50 -04:00
webrender_traits
webvr Replace use of gleam in webgl with sparkle. 2019-09-11 11:40:04 -04:00
webvr_traits Replace use of gleam in webgl with sparkle. 2019-09-11 11:40:04 -04:00