mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Deny unsafe blocks in script.
As a first start, this allows them indiscriminately where used.
This commit is contained in:
parent
d9751c0fbb
commit
edc1d89251
14 changed files with 27 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
#![feature(default_type_params, globs, macro_rules, phase, unsafe_destructor)]
|
||||
|
||||
#![deny(unsafe_blocks)]
|
||||
#![deny(unused_imports)]
|
||||
#![deny(unused_variables)]
|
||||
#![allow(non_snake_case)]
|
||||
|
@ -51,6 +52,7 @@ pub mod dom {
|
|||
pub mod macros;
|
||||
|
||||
/// The code to expose the DOM to JavaScript through IDL bindings.
|
||||
#[allow(unsafe_blocks)]
|
||||
pub mod bindings {
|
||||
pub mod cell;
|
||||
pub mod global;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue