]> git.lizzy.rs Git - rust.git/commitdiff
Fix or ignore regressed tests
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>
Fri, 19 Jul 2019 11:03:22 +0000 (14:03 +0300)
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>
Mon, 22 Jul 2019 08:50:21 +0000 (11:50 +0300)
src/test/run-pass/backtrace-debuginfo.rs
src/test/run-pass/backtrace.rs
src/test/run-pass/command-uid-gid.rs
src/test/run-pass/generator/size-moved-locals.rs
src/test/run-pass/issue-58375-monomorphize-default-impls.rs [deleted file]
src/test/ui/issues/issue-58375-monomorphize-default-impls.rs [new file with mode: 0644]

index 69ce1f70322ab55079fca1834d7e9702cad963c4..a2a934513d2f79dfc2a807969eaaeb4533c43d59 100644 (file)
@@ -10,8 +10,9 @@
 // ignore-pretty issue #37195
 // ignore-cloudabi spawning processes is not supported
 // ignore-emscripten spawning processes is not supported
-// normalize-stderr-test ".*\n" -> ""
+// ignore-msvc issue #62844
 // ignore-sgx no processes
+// normalize-stderr-test ".*\n" -> ""
 
 // Note that above `-opt-bisect-limit=0` is used to basically disable
 // optimizations. It creates tons of output on stderr, hence we normalize
index c73ba293ee25b998ed573b5e2e32a9a612931bec..93e8c9f1729973c64784fc1bb2c57f029e0db2e3 100644 (file)
@@ -2,6 +2,7 @@
 // ignore-cloudabi spawning processes is not supported
 // ignore-emscripten spawning processes is not supported
 // ignore-openbsd no support for libbacktrace without filename
+// ignore-msvc issue #62844
 // ignore-sgx no processes
 // compile-flags:-g
 
index 2b52c5d104c24a5c3ee4474a98889dcc63e10264..5f4b3941d90e395dd8d30def328d858dc6b2c2ef 100644 (file)
@@ -1,3 +1,8 @@
+// ignore-android
+// ignore-cloudabi
+// ignore-emscripten
+// ignore-sgx
+
 #![feature(rustc_private)]
 
 fn main() {
index 37e2e0cfdcccf2de257fc22527810a6ff11ffc6e..574442e2574617a1e304cc648a43f0610e9055c6 100644 (file)
@@ -9,6 +9,7 @@
 // See issue #59123 for a full explanation.
 
 // edition:2018
+// ignore-wasm32 issue #62807
 
 #![feature(generators, generator_trait)]
 
diff --git a/src/test/run-pass/issue-58375-monomorphize-default-impls.rs b/src/test/run-pass/issue-58375-monomorphize-default-impls.rs
deleted file mode 100644 (file)
index 6730217..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-// Make sure that the mono-item collector does not crash when trying to
-// instantiate a default impl for DecodeUtf16<<u8 as A>::Item>
-// See https://github.com/rust-lang/rust/issues/58375
-// compile-flags:-C link-dead-code
-
-#![crate_type = "rlib"]
-
-pub struct DecodeUtf16<I>(I);
-
-pub trait Arbitrary {
-    fn arbitrary() {}
-}
-
-pub trait A {
-    type Item;
-}
-
-impl A for u8 {
-    type Item = char;
-}
-
-impl Arbitrary for DecodeUtf16<<u8 as A>::Item>  {
-}
diff --git a/src/test/ui/issues/issue-58375-monomorphize-default-impls.rs b/src/test/ui/issues/issue-58375-monomorphize-default-impls.rs
new file mode 100644 (file)
index 0000000..6da6f39
--- /dev/null
@@ -0,0 +1,24 @@
+// Make sure that the mono-item collector does not crash when trying to
+// instantiate a default impl for DecodeUtf16<<u8 as A>::Item>
+// See https://github.com/rust-lang/rust/issues/58375
+
+// build-pass
+// compile-flags:-C link-dead-code
+
+#![crate_type = "rlib"]
+
+pub struct DecodeUtf16<I>(I);
+
+pub trait Arbitrary {
+    fn arbitrary() {}
+}
+
+pub trait A {
+    type Item;
+}
+
+impl A for u8 {
+    type Item = char;
+}
+
+impl Arbitrary for DecodeUtf16<<u8 as A>::Item> {}