Rustup to rustc 1.30.0-nightly (20dc0c507 2018-09-19)

This commit is contained in:
bjorn3 2018-09-20 18:20:04 +02:00
parent a92566404c
commit 056bf8ca7d

View file

@ -1,6 +1,6 @@
From 9db209102bf5f7850ccd456be0d5af09405ee950 Mon Sep 17 00:00:00 2001 From 8838226899913c8636fa00f4dfbc7497c685abc5 Mon Sep 17 00:00:00 2001
From: bjorn3 <bjorn3@users.noreply.github.com> From: bjorn3 <bjorn3@users.noreply.github.com>
Date: Thu, 30 Aug 2018 20:47:12 +0200 Date: Thu, 20 Sep 2018 18:16:25 +0200
Subject: [PATCH] Disable future and task modules, because they contain unsized Subject: [PATCH] Disable future and task modules, because they contain unsized
types types
@ -10,10 +10,10 @@ Subject: [PATCH] Disable future and task modules, because they contain unsized
2 files changed, 6 insertions(+), 2 deletions(-) 2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs
index 9b64b7d..9d2e230 100644 index 09f5035..f129254 100644
--- a/src/libcore/lib.rs --- a/src/libcore/lib.rs
+++ b/src/libcore/lib.rs +++ b/src/libcore/lib.rs
@@ -188,7 +188,7 @@ pub mod cell; @@ -194,7 +194,7 @@ pub mod cell;
pub mod char; pub mod char;
pub mod panic; pub mod panic;
pub mod panicking; pub mod panicking;
@ -22,7 +22,7 @@ index 9b64b7d..9d2e230 100644
pub mod iter; pub mod iter;
pub mod option; pub mod option;
pub mod raw; pub mod raw;
@@ -202,9 +202,11 @@ pub mod time; @@ -209,9 +209,11 @@ pub mod time;
pub mod unicode; pub mod unicode;
@ -35,28 +35,28 @@ index 9b64b7d..9d2e230 100644
/* Heap memory allocator trait */ /* Heap memory allocator trait */
#[allow(missing_docs)] #[allow(missing_docs)]
diff --git a/src/libcore/option.rs b/src/libcore/option.rs diff --git a/src/libcore/option.rs b/src/libcore/option.rs
index 3879abb..16204a8 100644 index 58bf6be..902d38f 100644
--- a/src/libcore/option.rs --- a/src/libcore/option.rs
+++ b/src/libcore/option.rs +++ b/src/libcore/option.rs
@@ -147,7 +147,7 @@ @@ -147,7 +147,7 @@
use iter::{FromIterator, FusedIterator, TrustedLen}; use iter::{FromIterator, FusedIterator, TrustedLen};
use {hint, mem, ops::{self, Deref}}; use {hint, mem, ops::{self, Deref}};
-use pin::PinMut; -use pin::Pin;
+//use pin::PinMut; +//use pin::Pin;
// Note that this is not a lang item per se, but it has a hidden dependency on // Note that this is not a lang item per se, but it has a hidden dependency on
// `Iterator`, which is one. The compiler assumes that the `next` method of // `Iterator`, which is one. The compiler assumes that the `next` method of
@@ -270,6 +270,7 @@ impl<T> Option<T> { @@ -271,6 +271,7 @@ impl<T> Option<T> {
}
} }
+ /* + /*
/// Converts from `Option<T>` to `Option<PinMut<'_, T>>` /// Converts from `Pin<&Option<T>>` to `Option<Pin<&T>>`
#[inline] #[inline]
#[unstable(feature = "pin", issue = "49150")] #[unstable(feature = "pin", issue = "49150")]
@@ -278,6 +279,7 @@ impl<T> Option<T> { @@ -288,6 +289,7 @@ impl<T> Option<T> {
PinMut::get_mut_unchecked(self).as_mut().map(|x| PinMut::new_unchecked(x)) Pin::get_mut_unchecked(self).as_mut().map(|x| Pin::new_unchecked(x))
} }
} }
+ */ + */