script: Remove unecessary warn(deprecated) directives (#34807)

According to the [rustc book], `deprecated` is set to `warn` level by
default, so these directives are not necessary.

[rustc book]: https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Martin Robinson 2024-12-31 11:09:52 +01:00 committed by GitHub
parent d57e5e8008
commit 59c7ac680e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,81 +26,46 @@ extern crate servo_atoms;
mod animation_timeline; mod animation_timeline;
mod animations; mod animations;
#[warn(deprecated)]
#[macro_use] #[macro_use]
mod task; mod task;
#[warn(deprecated)]
mod body; mod body;
#[warn(deprecated)]
pub mod clipboard_provider; pub mod clipboard_provider;
#[warn(deprecated)]
pub mod conversions; pub mod conversions;
#[warn(deprecated)]
mod devtools; mod devtools;
#[warn(deprecated)]
pub mod document_loader; pub mod document_loader;
#[warn(deprecated)]
#[macro_use] #[macro_use]
mod dom; mod dom;
#[warn(deprecated)]
mod canvas_state; mod canvas_state;
#[warn(deprecated)]
pub mod fetch; pub mod fetch;
#[warn(deprecated)]
mod image_listener; mod image_listener;
#[warn(deprecated)]
mod init; mod init;
#[warn(deprecated)]
mod layout_image; mod layout_image;
#[warn(deprecated)]
pub mod document_collection; pub mod document_collection;
#[warn(deprecated)]
pub mod iframe_collection; pub mod iframe_collection;
pub mod layout_dom; pub mod layout_dom;
#[warn(deprecated)]
mod mem; mod mem;
#[warn(deprecated)]
#[allow(unsafe_code)] #[allow(unsafe_code)]
pub mod messaging; pub mod messaging;
#[warn(deprecated)]
mod microtask; mod microtask;
#[warn(deprecated)]
mod network_listener; mod network_listener;
#[warn(deprecated)]
mod realms; mod realms;
#[warn(deprecated)]
mod script_module; mod script_module;
#[warn(deprecated)]
pub mod script_runtime; pub mod script_runtime;
#[warn(deprecated)]
#[allow(unsafe_code)] #[allow(unsafe_code)]
pub mod script_thread; pub mod script_thread;
#[warn(deprecated)]
pub mod security_manager; pub mod security_manager;
#[warn(deprecated)]
pub mod serviceworker_manager; pub mod serviceworker_manager;
#[warn(deprecated)]
mod stylesheet_loader; mod stylesheet_loader;
#[warn(deprecated)]
mod stylesheet_set; mod stylesheet_set;
#[warn(deprecated)]
mod task_manager; mod task_manager;
#[warn(deprecated)]
mod task_queue; mod task_queue;
#[warn(deprecated)]
mod task_source; mod task_source;
#[warn(deprecated)]
pub mod test; pub mod test;
#[warn(deprecated)]
pub mod textinput; pub mod textinput;
#[warn(deprecated)]
mod timers; mod timers;
#[warn(deprecated)]
mod unpremultiplytable; mod unpremultiplytable;
#[warn(deprecated)]
mod webdriver_handlers; mod webdriver_handlers;
#[warn(deprecated)]
mod window_named_properties; mod window_named_properties;
mod unminify; mod unminify;