aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/lib.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-10-21 07:57:32 -0600
committerbors-servo <metajack+bors@gmail.com>2015-10-21 07:57:32 -0600
commit674589c370d978f543e71f995d58c5b28e6e9842 (patch)
treefc50d7474074e4627a857d4aaad65e51dfd1a56f /components/script/lib.rs
parent20ea0f4755d2249a6abf9a4ade9d3df753f23bcf (diff)
parentd0e022b64e7b708e6fbe7348526c49a3665361ba (diff)
downloadservo-674589c370d978f543e71f995d58c5b28e6e9842.tar.gz
servo-674589c370d978f543e71f995d58c5b28e6e9842.zip
Auto merge of #8041 - nox:castable, r=jdm
Introduce trait Castable Removes all those messy FooCast structures in InheritTypes.rs. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8041) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r--components/script/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs
index 14d74cb2f94..5ebaa787dfd 100644
--- a/components/script/lib.rs
+++ b/components/script/lib.rs
@@ -19,6 +19,7 @@
#![feature(iter_arith)]
#![feature(mpsc_select)]
#![feature(nonzero)]
+#![feature(on_unimplemented)]
#![feature(plugin)]
#![feature(ref_slice)]
#![feature(slice_patterns)]