From 82fd8d74cdc41fd97a93b6354954eb4a927b6147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Esteban=20K=C3=BCber?= Date: Mon, 16 Jul 2018 14:11:37 -0700 Subject: [PATCH] Return tests that have platform dependant output --- src/test/{ui => compile-fail}/issue-10755.rs | 0 .../{ui => compile-fail}/issue-23595-1.rs | 0 src/test/{ui => compile-fail}/issue-26548.rs | 0 .../{ui => compile-fail}/issue-43733-2.rs | 0 src/test/ui/issue-10755.stderr | 6 ----- src/test/ui/issue-23595-1.stderr | 21 ----------------- src/test/ui/issue-26548.stderr | 9 -------- src/test/ui/issue-43733-2.stderr | 23 ------------------- 8 files changed, 59 deletions(-) rename src/test/{ui => compile-fail}/issue-10755.rs (100%) rename src/test/{ui => compile-fail}/issue-23595-1.rs (100%) rename src/test/{ui => compile-fail}/issue-26548.rs (100%) rename src/test/{ui => compile-fail}/issue-43733-2.rs (100%) delete mode 100644 src/test/ui/issue-10755.stderr delete mode 100644 src/test/ui/issue-23595-1.stderr delete mode 100644 src/test/ui/issue-26548.stderr delete mode 100644 src/test/ui/issue-43733-2.stderr diff --git a/src/test/ui/issue-10755.rs b/src/test/compile-fail/issue-10755.rs similarity index 100% rename from src/test/ui/issue-10755.rs rename to src/test/compile-fail/issue-10755.rs diff --git a/src/test/ui/issue-23595-1.rs b/src/test/compile-fail/issue-23595-1.rs similarity index 100% rename from src/test/ui/issue-23595-1.rs rename to src/test/compile-fail/issue-23595-1.rs diff --git a/src/test/ui/issue-26548.rs b/src/test/compile-fail/issue-26548.rs similarity index 100% rename from src/test/ui/issue-26548.rs rename to src/test/compile-fail/issue-26548.rs diff --git a/src/test/ui/issue-43733-2.rs b/src/test/compile-fail/issue-43733-2.rs similarity index 100% rename from src/test/ui/issue-43733-2.rs rename to src/test/compile-fail/issue-43733-2.rs diff --git a/src/test/ui/issue-10755.stderr b/src/test/ui/issue-10755.stderr deleted file mode 100644 index db64944d44f..00000000000 --- a/src/test/ui/issue-10755.stderr +++ /dev/null @@ -1,6 +0,0 @@ -error: linker `llllll` not found - | - = note: No such file or directory (os error 2) - -error: aborting due to previous error - diff --git a/src/test/ui/issue-23595-1.stderr b/src/test/ui/issue-23595-1.stderr deleted file mode 100644 index 624534eb8d7..00000000000 --- a/src/test/ui/issue-23595-1.stderr +++ /dev/null @@ -1,21 +0,0 @@ -error[E0191]: the value of the associated type `ChildKey` (from the trait `Hierarchy`) must be specified - --> $DIR/issue-23595-1.rs:18:50 - | -LL | type Children = Index; - | ^^^^^^^^^ missing associated type `ChildKey` value - -error[E0191]: the value of the associated type `Children` (from the trait `Hierarchy`) must be specified - --> $DIR/issue-23595-1.rs:18:50 - | -LL | type Children = Index; - | ^^^^^^^^^ missing associated type `Children` value - -error[E0191]: the value of the associated type `Value` (from the trait `Hierarchy`) must be specified - --> $DIR/issue-23595-1.rs:18:50 - | -LL | type Children = Index; - | ^^^^^^^^^ missing associated type `Value` value - -error: aborting due to 3 previous errors - -For more information about this error, try `rustc --explain E0191`. diff --git a/src/test/ui/issue-26548.stderr b/src/test/ui/issue-26548.stderr deleted file mode 100644 index c1db7fe128f..00000000000 --- a/src/test/ui/issue-26548.stderr +++ /dev/null @@ -1,9 +0,0 @@ -error[E0391]: cycle detected when computing layout of `std::option::Option` - | -note: ...which requires computing layout of `S`... - = note: ...which again requires computing layout of `std::option::Option`, completing the cycle -note: cycle used when compile_codegen_unit - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0391`. diff --git a/src/test/ui/issue-43733-2.stderr b/src/test/ui/issue-43733-2.stderr deleted file mode 100644 index 8eb150ff833..00000000000 --- a/src/test/ui/issue-43733-2.stderr +++ /dev/null @@ -1,23 +0,0 @@ -error[E0277]: `std::cell::UnsafeCell>` cannot be shared between threads safely - --> $DIR/issue-43733-2.rs:35:1 - | -LL | static __KEY: Key<()> = Key::new(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `std::cell::UnsafeCell>` cannot be shared between threads safely - | - = help: within `std::thread::Key<()>`, the trait `std::marker::Sync` is not implemented for `std::cell::UnsafeCell>` - = note: required because it appears within the type `std::thread::Key<()>` - = note: shared static variables must have a type that implements `Sync` - -error[E0277]: `std::cell::Cell` cannot be shared between threads safely - --> $DIR/issue-43733-2.rs:35:1 - | -LL | static __KEY: Key<()> = Key::new(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `std::cell::Cell` cannot be shared between threads safely - | - = help: within `std::thread::Key<()>`, the trait `std::marker::Sync` is not implemented for `std::cell::Cell` - = note: required because it appears within the type `std::thread::Key<()>` - = note: shared static variables must have a type that implements `Sync` - -error: aborting due to 2 previous errors - -For more information about this error, try `rustc --explain E0277`.