]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-make-fulldeps/save-analysis/foo.rs
Rollup merge of #63529 - andersk:release-notes-kleene, r=Centril
[rust.git] / src / test / run-make-fulldeps / save-analysis / foo.rs
index 5b4e4802957af8e037c62f96500fe008e1818a55..bc0209dc5832a41993ccae0157bf85ee6487045b 100644 (file)
@@ -1,13 +1,3 @@
-// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution and at
-// http://rust-lang.org/COPYRIGHT.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
 #![ crate_name = "test" ]
 #![feature(box_syntax)]
 #![feature(rustc_private)]
@@ -428,8 +418,9 @@ pub fn is<T: Error + 'static>(&self) -> bool {
         <Error + 'static>::is::<T>(self)
     }
 }
-extern crate serialize;
-#[derive(Clone, Copy, Hash, Encodable, Decodable, PartialEq, Eq, PartialOrd, Ord, Debug, Default)]
+extern crate serialize as rustc_serialize;
+#[derive(Clone, Copy, Hash, RustcEncodable, RustcDecodable,
+         PartialEq, Eq, PartialOrd, Ord, Debug, Default)]
 struct AllDerives(i32);
 
 fn test_format_args() {