Rollup merge of #21602 - japaric:derive-copy, r=alexcrichton

This commit is contained in:
Manish Goregaokar 2015-01-27 22:24:02 +05:30
commit 51ff9e82ec
99 changed files with 136 additions and 289 deletions

View file

@ -115,6 +115,7 @@
#![feature(box_syntax)]
#![omit_gdb_pretty_printer_section]
#[derive(Copy)]
struct Struct<T> {
x: T
}
@ -150,5 +151,3 @@ fn main() {
fn zzz() {()}
impl<T:Copy> Copy for Struct<T> {}

View file

@ -116,6 +116,7 @@
#![feature(box_syntax)]
#![omit_gdb_pretty_printer_section]
#[derive(Copy)]
enum Enum {
Variant1 { x: u16, y: u16 },
Variant2 (u32)
@ -152,5 +153,3 @@ fn main() {
fn zzz() {()}
impl Copy for Enum {}

View file

@ -116,6 +116,7 @@
#![feature(box_syntax)]
#![omit_gdb_pretty_printer_section]
#[derive(Copy)]
struct Struct<T> {
x: T
}
@ -151,5 +152,3 @@ fn main() {
fn zzz() {()}
impl<T:Copy> Copy for Struct<T> {}

View file

@ -116,6 +116,7 @@
#![feature(box_syntax)]
#![omit_gdb_pretty_printer_section]
#[derive(Copy)]
struct Struct {
x: int
}
@ -151,5 +152,3 @@ fn main() {
fn zzz() {()}
impl Copy for Struct {}

View file

@ -116,6 +116,7 @@
#![feature(box_syntax)]
#![omit_gdb_pretty_printer_section]
#[derive(Copy)]
struct Struct {
x: int
}
@ -157,5 +158,3 @@ fn main() {
fn zzz() {()}
impl Copy for Struct {}

View file

@ -116,6 +116,7 @@
#![feature(box_syntax)]
#![omit_gdb_pretty_printer_section]
#[derive(Copy)]
struct TupleStruct(int, f64);
impl TupleStruct {
@ -149,5 +150,3 @@ fn main() {
fn zzz() {()}
impl Copy for TupleStruct {}

View file

@ -115,6 +115,7 @@
#![feature(box_syntax)]
#![omit_gdb_pretty_printer_section]
#[derive(Copy)]
struct Struct {
x: int
}
@ -151,5 +152,3 @@ fn main() {
fn zzz() {()}
impl Copy for Struct {}

View file

@ -115,6 +115,7 @@
#![feature(box_syntax)]
#![omit_gdb_pretty_printer_section]
#[derive(Copy)]
struct Struct {
x: int
}
@ -152,5 +153,3 @@ fn main() {
fn zzz() {()}
impl Copy for Struct {}