diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-04-10 11:39:53 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-04-14 10:14:19 -0700 |
| commit | 700e627cf727873a472b1876238aac10b932258b (patch) | |
| tree | 2869ad99d029315b6b7170ab3685b7f3a9bd1144 /src/test/compile-fail/derive-no-std-not-supported.rs | |
| parent | dddfbe0441476cd366943fcf14f4896e6bb09851 (diff) | |
| download | rust-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.rs | 6 |
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, |
