Auto merge of #18340 - servo:dom-struct-errors, r=SimonSapin

Use the better TokenStream API in dom_struct

Before:

```rust
error[E0412]: cannot find type `SourceBuffer` in this scope
  --> /Users/nox/src/servo/components/script/dom/mediasource.rs:25:1
   |
25 | #[dom_struct]
   | ^^^^^^^^^^^^^ did you mean `SourceBufferList`?
```

After:

```rust
error[E0412]: cannot find type `SourceBuffer` in this scope
  --> /Users/nox/src/servo/components/script/dom/mediasource.rs:28:39
   |
28 |     source_buffers: DOMRefCell<Vec<JS<SourceBuffer>>>,
   |                                       ^^^^^^^^^^^^ did you mean `SourceBufferList`?
```

<!-- 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/18340)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-09-02 00:48:29 -05:00 committed by GitHub
commit 32b04b3f51
3 changed files with 5 additions and 16 deletions

3
Cargo.lock generated
View file

@ -743,9 +743,6 @@ dependencies = [
[[package]]
name = "dom_struct"
version = "0.0.1"
dependencies = [
"quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "domobject_derive"