mirror of
https://github.com/servo/servo.git
synced 2025-07-28 17:50:37 +01:00
Notes: * This adds `#![allow(missing_copy_implementations)]` to components/*/lib.rs. I'm not sure how to approach the missing Copy warnings (are there things for which Copy should NOT be implemented, and how can I tell?) so I stuck this in to make life easier when looking through the warnings. I can easily remove this if necessary. * This leaves the following type of warnings, which I couldn't figure out how to approach (I'll investigate it later if no one else wants to). ``` css/matching.rs:72:23: 72:35 warning: use of deprecated item: Use overloaded core::cmp::PartialEq, #[warn(deprecated)] on by default css/matching.rs:72 this_as_query.equiv(other) ^~~~~~~~~~~~ css/matching.rs:95:10: 95:49 warning: use of deprecated item: Use overloaded core::cmp::PartialEq, #[warn(deprecated)] on by default css/matching.rs:95 impl<'a> Equiv<ApplicableDeclarationsCacheEntry> for ApplicableDeclarationsCacheQuery<'a> { ```
73 lines
1.6 KiB
Rust
73 lines
1.6 KiB
Rust
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#![feature(globs, macro_rules, phase, thread_local, unsafe_destructor)]
|
|
|
|
#![deny(unused_imports)]
|
|
#![deny(unused_variables)]
|
|
#![allow(unrooted_must_root)]
|
|
#![allow(missing_copy_implementations)]
|
|
|
|
#[phase(plugin, link)]
|
|
extern crate log;
|
|
|
|
extern crate cssparser;
|
|
extern crate geom;
|
|
extern crate gfx;
|
|
extern crate layout_traits;
|
|
extern crate script;
|
|
extern crate script_traits;
|
|
extern crate serialize;
|
|
extern crate style;
|
|
#[phase(plugin)]
|
|
extern crate "plugins" as servo_plugins;
|
|
extern crate "net" as servo_net;
|
|
extern crate "msg" as servo_msg;
|
|
#[phase(plugin, link)]
|
|
extern crate "util" as servo_util;
|
|
|
|
#[phase(plugin)]
|
|
extern crate string_cache_macros;
|
|
extern crate string_cache;
|
|
|
|
extern crate collections;
|
|
extern crate encoding;
|
|
extern crate libc;
|
|
extern crate url;
|
|
|
|
// Listed first because of macro definitions
|
|
pub mod layout_debug;
|
|
|
|
pub mod block;
|
|
pub mod construct;
|
|
pub mod context;
|
|
pub mod display_list_builder;
|
|
pub mod floats;
|
|
pub mod flow;
|
|
pub mod flow_list;
|
|
pub mod flow_ref;
|
|
pub mod fragment;
|
|
pub mod layout_task;
|
|
pub mod inline;
|
|
pub mod list_item;
|
|
pub mod model;
|
|
pub mod parallel;
|
|
pub mod sequential;
|
|
pub mod table_wrapper;
|
|
pub mod table;
|
|
pub mod table_caption;
|
|
pub mod table_colgroup;
|
|
pub mod table_rowgroup;
|
|
pub mod table_row;
|
|
pub mod table_cell;
|
|
pub mod text;
|
|
pub mod traversal;
|
|
pub mod util;
|
|
pub mod incremental;
|
|
pub mod wrapper;
|
|
|
|
pub mod css {
|
|
pub mod matching;
|
|
pub mod node_style;
|
|
}
|