]> git.lizzy.rs Git - rust.git/commitdiff
rustup for never stabilization
authorRalf Jung <post@ralfj.de>
Fri, 22 Nov 2019 08:50:22 +0000 (09:50 +0100)
committerRalf Jung <post@ralfj.de>
Fri, 22 Nov 2019 08:50:22 +0000 (09:50 +0100)
rust-version
tests/compile-fail/never_say_never.rs
tests/compile-fail/never_transmute_humans.rs
tests/compile-fail/never_transmute_void.rs
tests/run-pass/async-fn.rs
tests/run-pass/generator.rs
tests/run-pass/loop-break-value.rs

index cb6136f40fb6fa83d28f0e57b396f46d6dca57d5..09cac5bb059fa62cb257412c3089f2e4f9cff4a5 100644 (file)
@@ -1 +1 @@
-b9cf5417892ef242c783ef963deff5436205b0f6
+bd816fd76f4f7a040ca7ac8ca5bc556d761f96fa
index d7e6a8c09f64e14422881da7af65dddeaaeebe9e..199ceb70fb6be0800129d87a865b307c4742f0bf 100644 (file)
@@ -1,7 +1,6 @@
 // This should fail even without validation
 // compile-flags: -Zmiri-disable-validation
 
-#![feature(never_type)]
 #![allow(unreachable_code)]
 
 fn main() {
index ab25b1ffc7467176bbf849c105fdbfa059dc7acb..f662fdcd98729cbff141a75624b563f6fb64365c 100644 (file)
@@ -1,8 +1,6 @@
 // This should fail even without validation
 // compile-flags: -Zmiri-disable-validation
 
-#![feature(never_type)]
-
 struct Human;
 
 fn main() {
index a5d6795d71e794d8d762a43977ae58f0d43981fc..933e052119564e5e513ced08f66084523188f43c 100644 (file)
@@ -1,7 +1,6 @@
 // This should fail even without validation
 // compile-flags: -Zmiri-disable-validation
 
-#![feature(never_type)]
 #![allow(unused, invalid_value)]
 
 enum Void {}
index 90448aca1779284bfb02d0b0c4675a87bebb56fe..a4c176ad8f121d3a829326c5489febdf786d7bb9 100644 (file)
@@ -1,5 +1,3 @@
-#![feature(never_type)]
-
 use std::{future::Future, pin::Pin, task::Poll, ptr};
 use std::task::{Waker, RawWaker, RawWakerVTable, Context};
 
index c31b5b9ed3bb2a3845f931d3dea776e3e8986dd1..00ebba6344e2e6256b449a3a9e0c1de90a2d3649 100644 (file)
@@ -1,4 +1,4 @@
-#![feature(generators, generator_trait, never_type)]
+#![feature(generators, generator_trait)]
 
 use std::ops::{GeneratorState, Generator};
 use std::pin::Pin;
index bd7afa7ec1a800d345cdb7fa061ff87ea59747f6..43acdc228202eff2e8fe62875b8b7edd9593e151 100644 (file)
@@ -1,4 +1,3 @@
-#![feature(never_type)]
 #![allow(unreachable_code)]
 
 #[allow(unused)]