From 12c92a32f63130c18ba06d7320d2b28a2bd76625 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Thu, 30 Apr 2020 11:28:48 +0200 Subject: [PATCH] Rustup to rustc 1.45.0-nightly (fa51f810e 2020-04-29) --- example/mini_core.rs | 6 ++++++ rust-toolchain | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/example/mini_core.rs b/example/mini_core.rs index 60085d35ae1..8042ca89789 100644 --- a/example/mini_core.rs +++ b/example/mini_core.rs @@ -85,6 +85,12 @@ unsafe impl Freeze for *mut T {} unsafe impl Freeze for &T {} unsafe impl Freeze for &mut T {} +#[lang = "structural_peq"] +pub trait StructuralPartialEq {} + +#[lang = "structural_teq"] +pub trait StructuralEq {} + #[lang = "not"] pub trait Not { type Output; diff --git a/rust-toolchain b/rust-toolchain index 55eac5861a1..07c9621f2a8 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -nightly-2020-04-27 +nightly-2020-04-30