Deny unsafe blocks in script.

As a first start, this allows them indiscriminately where used.
This commit is contained in:
Ms2ger 2015-01-08 17:33:34 +01:00
parent d9751c0fbb
commit edc1d89251
14 changed files with 27 additions and 0 deletions

View file

@ -99,6 +99,7 @@ impl tree_builder::Tracer<TrustedNodeAddress> for Tracer {
}
impl JSTraceable for ServoHTMLParser {
#[allow(unsafe_blocks)]
fn trace(&self, trc: *mut JSTracer) {
self.reflector_.trace(trc);