diff --git a/components/layout/fragment.rs b/components/layout/fragment.rs index 254ed8d41778..bfef94fdd0d8 100644 --- a/components/layout/fragment.rs +++ b/components/layout/fragment.rs @@ -23,7 +23,7 @@ use inline::{InlineMetrics, LAST_FRAGMENT_OF_ELEMENT}; use ipc_channel::ipc::IpcSender; #[cfg(debug_assertions)] use layout_debug; -use model::{self, Direction, IntrinsicISizes, IntrinsicISizesContribution, MaybeAuto, specified}; +use model::{self, Direction, IntrinsicISizes, IntrinsicISizesContribution, MaybeAuto}; use msg::constellation_msg::PipelineId; use net_traits::image::base::{Image, ImageMetadata}; use net_traits::image_cache_thread::{ImageOrMetadataAvailable, UsePlaceholder}; diff --git a/components/net/fetch/cors_cache.rs b/components/net/fetch/cors_cache.rs index 978612836064..8d494ab33c1c 100644 --- a/components/net/fetch/cors_cache.rs +++ b/components/net/fetch/cors_cache.rs @@ -12,8 +12,7 @@ use hyper::method::Method; use net_traits::request::{CredentialsMode, Origin, Request}; use std::ascii::AsciiExt; -use time; -use time::{now, Timespec}; +use time::{self, Timespec}; use url::Url; /// Union type for CORS cache entries diff --git a/components/script/dom/request.rs b/components/script/dom/request.rs index a764aec6265c..7f612157566d 100644 --- a/components/script/dom/request.rs +++ b/components/script/dom/request.rs @@ -507,13 +507,13 @@ fn includes_credentials(input: &Url) -> bool { // TODO: `Readable Stream` object is not implemented in Servo yet. // https://fetch.spec.whatwg.org/#concept-body-disturbed -fn request_is_disturbed(input: &Request) -> bool { +fn request_is_disturbed(_input: &Request) -> bool { false } // TODO: `Readable Stream` object is not implemented in Servo yet. // https://fetch.spec.whatwg.org/#concept-body-locked -fn request_is_locked(input: &Request) -> bool { +fn request_is_locked(_input: &Request) -> bool { false } diff --git a/components/servo/Cargo.lock b/components/servo/Cargo.lock index f35d78400b2c..6cc998d5fd3c 100644 --- a/components/servo/Cargo.lock +++ b/components/servo/Cargo.lock @@ -294,15 +294,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" name = "compiletest_helper" version = "0.0.1" dependencies = [ - "compiletest_rs 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "compiletest_rs 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "compiletest_rs" -version = "0.1.3" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", + "rustc-serialize 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] diff --git a/components/util/opts.rs b/components/util/opts.rs index 8894533c73b5..2e957e8371ca 100644 --- a/components/util/opts.rs +++ b/components/util/opts.rs @@ -15,7 +15,7 @@ use std::cmp; use std::default::Default; use std::env; use std::fs::{self, File}; -use std::io::{self, Read, Write, stderr}; +use std::io::{self, Read, Write}; use std::path::{Path, PathBuf}; use std::process; use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT, Ordering}; diff --git a/rust-nightly-date b/rust-nightly-date index 9fd465ab723a..00f860602c00 100644 --- a/rust-nightly-date +++ b/rust-nightly-date @@ -1 +1 @@ -2016-08-05 +2016-08-13 diff --git a/tests/compiletest/helper/Cargo.toml b/tests/compiletest/helper/Cargo.toml index d44e109fec19..01c5816668d7 100644 --- a/tests/compiletest/helper/Cargo.toml +++ b/tests/compiletest/helper/Cargo.toml @@ -10,4 +10,4 @@ path = "lib.rs" doctest = false [dependencies] -compiletest_rs = "0.1.3" +compiletest_rs = "0.2.0"