about summary refs log tree commit diff
path: root/src/test/compile-fail/derive-no-std-not-supported.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-04-10 11:39:53 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-04-14 10:14:19 -0700
commit700e627cf727873a472b1876238aac10b932258b (patch)
tree2869ad99d029315b6b7170ab3685b7f3a9bd1144 /src/test/compile-fail/derive-no-std-not-supported.rs
parentdddfbe0441476cd366943fcf14f4896e6bb09851 (diff)
downloadrust-700e627cf727873a472b1876238aac10b932258b.tar.gz
rust-700e627cf727873a472b1876238aac10b932258b.zip
test: Fixup many library unit tests
Diffstat (limited to 'src/test/compile-fail/derive-no-std-not-supported.rs')
-rw-r--r--src/test/compile-fail/derive-no-std-not-supported.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/compile-fail/derive-no-std-not-supported.rs b/src/test/compile-fail/derive-no-std-not-supported.rs
index d0cb4f23a8c..327e2c9e0f9 100644
--- a/src/test/compile-fail/derive-no-std-not-supported.rs
+++ b/src/test/compile-fail/derive-no-std-not-supported.rs
@@ -15,12 +15,6 @@ extern crate core;
 extern crate rand;
 extern crate serialize as rustc_serialize;
 
-#[derive(Rand)]  //~ ERROR this trait cannot be derived
-//~^ WARNING `#[derive(Rand)]` is deprecated
-struct Foo {
-    x: u32,
-}
-
 #[derive(RustcEncodable)]  //~ ERROR this trait cannot be derived
 struct Bar {
     x: u32,