aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_plugins/webidl_must_inherit.rs
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant webidl_must_inherit compiler plugin lintSimon Sapin2019-09-291-210/+0
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Upgrade to rustc 1.40.0-nightly (084beb83e 2019-09-27)Simon Sapin2019-09-281-1/+1
|
* Upgrade to rustc 1.40.0-nightly (ddf43867a 2019-09-26)Simon Sapin2019-09-271-1/+1
|
* Upgrade to rustc 1.39.0-nightly (521d78407 2019-08-25)Simon Sapin2019-08-261-11/+8
|
* Upgrade to rustc 1.38.0-nightly (4b65a86eb 2019-07-15)Simon Sapin2019-07-171-2/+2
|
* Upgrade to rustc 1.37.0-nightly (088b98730 2019-07-03)Josh Matthews2019-07-051-1/+1
|
* Fix some new warningsSimon Sapin2019-06-221-3/+3
|
* Upgrade to rustc 1.37.0-nightly (04a3dd8a8 2019-06-18)Simon Sapin2019-06-221-4/+1
|
* Run rustfmt.Katasonov Vladyslav2019-06-041-6/+8
|
* Made webidl search path relative to manifest.Katasonov Vladyslav2019-06-041-2/+18
| | | | Manifest dir should be more stable than current dir.
* Auto merge of #23405 - Eijebong:weedle, r=jdmbors-servo2019-05-201-43/+17
|\ | | | | | | | | | | | | | | | | | | | | | | Switch from webidl to weedle in script_plugins This removes the dependency on lalrpop and should speed up compilation quite a bit. <!-- 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/23405) <!-- Reviewable:end -->
| * Switch from webidl to weedle in script_pluginsBastien Orivel2019-05-151-43/+17
| | | | | | | | | | This removes the dependency on lalrpop and should speed up compilation quite a bit.
* | Upgrade to rustc 1.36.0-nightly (a9ec99f42 2019-05-13)Simon Sapin2019-05-141-6/+8
|/
* Simplify ParentMismatchError.fmt.krk2019-04-201-6/+1
|
* Replace WebIdlError enum with ParentMismatchError struct.krk2019-04-201-20/+18
|
* Use iter.next instead of for-break.krk2019-04-201-13/+7
|
* Remove debug logs.krk2019-04-201-7/+1
|
* Allow Reflector as a parent and special case PaintRenderingContext2D.krk2019-04-201-0/+17
|
* Remove redundant return keyword.krk2019-04-201-1/+1
|
* Rename typ to ty and use &str where possible.krk2019-04-201-11/+12
|
* Parse webidl files and lint for inheritance correctness.krk2019-04-201-19/+109
|
* Can collect webidl paths.krk2019-04-201-0/+133