2023-09-20 19:56:59 -05:00
|
|
|
#![crate_type = "lib"]
|
|
|
|
|
|
|
|
// This isn't intended to compile, so it's easiest to just ignore this error.
|
|
|
|
extern crate rustc_serialize; //~ERROR can't find crate for `rustc_serialize`
|
|
|
|
|
|
|
|
#[derive(
|
|
|
|
RustcEncodable,
|
2024-11-02 18:10:24 -05:00
|
|
|
//~^ ERROR use of unstable library feature `rustc_encodable_decodable`
|
2023-09-20 19:56:59 -05:00
|
|
|
//~^^ WARNING this was previously accepted by the compiler
|
|
|
|
//~^^^ WARNING use of deprecated macro `RustcEncodable`
|
|
|
|
RustcDecodable,
|
2024-11-02 18:10:24 -05:00
|
|
|
//~^ ERROR use of unstable library feature `rustc_encodable_decodable`
|
2023-09-20 19:56:59 -05:00
|
|
|
//~^^ WARNING this was previously accepted by the compiler
|
|
|
|
//~^^^ WARNING use of deprecated macro `RustcDecodable`
|
|
|
|
)]
|
|
|
|
struct S;
|