From 5f422b6161502173196ea89ff55ce549b10fec7a Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Fri, 4 Jan 2019 15:01:14 +0100 Subject: [PATCH] Upgrade to rustc 1.33.0-nightly (c0bbc3927 2019-01-03) CC https://github.com/rust-lang/rust/issues/56105#issuecomment-451457706 --- components/script/dom/bindings/trace.rs | 7 ------- rust-toolchain | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/components/script/dom/bindings/trace.rs b/components/script/dom/bindings/trace.rs index ee8e93e03ac..9a38807e510 100644 --- a/components/script/dom/bindings/trace.rs +++ b/components/script/dom/bindings/trace.rs @@ -503,13 +503,6 @@ unsafe impl JSTraceable for fn(A) -> B { } } -unsafe impl<'a, A, B> JSTraceable for fn(&A) -> B { - #[inline] - unsafe fn trace(&self, _: *mut JSTracer) { - // Do nothing - } -} - unsafe impl JSTraceable for IpcSender where T: for<'de> Deserialize<'de> + Serialize, diff --git a/rust-toolchain b/rust-toolchain index 6f098ceaa7a..b3ce0a23f6e 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -nightly-2018-12-28 +nightly-2019-01-04