aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/lib.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2019-10-26 12:57:14 +0200
committerSimon Sapin <simon.sapin@exyr.org>2019-10-26 13:03:49 +0200
commitd3439fb4d105c1b772b45969f25bff8071d46cad (patch)
treef890023afa27aaf0a3df8c0394dd115faf07518c /components/script/lib.rs
parent642b8b041567016c0ad3f6f4342c68a2fcd35daa (diff)
downloadservo-d3439fb4d105c1b772b45969f25bff8071d46cad.tar.gz
servo-d3439fb4d105c1b772b45969f25bff8071d46cad.zip
Upgrade to rustc 1.40.0-nightly (246be7e1a 2019-10-25)
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r--components/script/lib.rs32
1 files changed, 31 insertions, 1 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs
index 0d85e377cf4..48f42cd7a38 100644
--- a/components/script/lib.rs
+++ b/components/script/lib.rs
@@ -11,8 +11,9 @@
#![deny(unsafe_code)]
#![allow(non_snake_case)]
#![doc = "The script crate contains all matters DOM."]
-#![plugin(script_plugins)]
#![cfg_attr(not(feature = "unrooted_must_root_lint"), allow(unknown_lints))]
+#![allow(deprecated)] // FIXME: Can we make `allow` only apply to the `plugin` crate attribute?
+#![plugin(script_plugins)]
#[macro_use]
extern crate bitflags;
@@ -47,37 +48,66 @@ extern crate servo_atoms;
#[macro_use]
extern crate style;
+#[warn(deprecated)]
#[macro_use]
mod task;
+#[warn(deprecated)]
mod body;
+#[warn(deprecated)]
pub mod clipboard_provider;
+#[warn(deprecated)]
mod devtools;
+#[warn(deprecated)]
pub mod document_loader;
+#[warn(deprecated)]
#[macro_use]
mod dom;
+#[warn(deprecated)]
mod canvas_state;
+#[warn(deprecated)]
mod compartments;
+#[warn(deprecated)]
pub mod fetch;
+#[warn(deprecated)]
mod image_listener;
+#[warn(deprecated)]
mod init;
+#[warn(deprecated)]
mod layout_image;
+#[warn(deprecated)]
mod mem;
+#[warn(deprecated)]
mod microtask;
+#[warn(deprecated)]
mod network_listener;
+#[warn(deprecated)]
pub mod script_runtime;
+#[warn(deprecated)]
#[allow(unsafe_code)]
pub mod script_thread;
+#[warn(deprecated)]
mod serviceworker_manager;
+#[warn(deprecated)]
mod serviceworkerjob;
+#[warn(deprecated)]
mod stylesheet_loader;
+#[warn(deprecated)]
mod stylesheet_set;
+#[warn(deprecated)]
mod task_manager;
+#[warn(deprecated)]
mod task_queue;
+#[warn(deprecated)]
mod task_source;
+#[warn(deprecated)]
pub mod test;
+#[warn(deprecated)]
pub mod textinput;
+#[warn(deprecated)]
mod timers;
+#[warn(deprecated)]
mod unpremultiplytable;
+#[warn(deprecated)]
mod webdriver_handlers;
pub use init::{init, init_service_workers};