Huon Wilson | d9a204b | 2014-01-27 04:28:04 | [diff] [blame] | 1 | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT |
Huon Wilson | 812ea9e | 2013-11-07 07:49:01 | [diff] [blame] | 2 | // file at the top-level directory of this distribution and at |
| 3 | // http://rust-lang.org/COPYRIGHT. |
| 4 | // |
| 5 | // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or |
| 6 | // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license |
| 7 | // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your |
| 8 | // option. This file may not be copied, modified, or distributed |
| 9 | // except according to those terms. |
| 10 | |
Alex Crichton | 748bc3c | 2014-05-30 00:45:07 | [diff] [blame] | 11 | // This file was auto-generated using 'src/etc/generate-deriving-span-tests.py' |
Huon Wilson | 812ea9e | 2013-11-07 07:49:01 | [diff] [blame] | 12 | |
Huon Wilson | 198caa8 | 2014-03-02 00:33:24 | [diff] [blame] | 13 | extern crate rand; |
Huon Wilson | d9a204b | 2014-01-27 04:28:04 | [diff] [blame] | 14 | |
| 15 | |
| 16 | struct Error; |
Huon Wilson | 812ea9e | 2013-11-07 07:49:01 | [diff] [blame] | 17 | |
Nick Cameron | 30e1492 | 2014-12-31 04:32:49 | [diff] [blame^] | 18 | #[derive(PartialEq)] |
Huon Wilson | d9a204b | 2014-01-27 04:28:04 | [diff] [blame] | 19 | struct Struct { |
| 20 | x: Error //~ ERROR |
| 21 | //~^ ERROR |
Huon Wilson | 812ea9e | 2013-11-07 07:49:01 | [diff] [blame] | 22 | } |
| 23 | |
Huon Wilson | d9a204b | 2014-01-27 04:28:04 | [diff] [blame] | 24 | fn main() {} |