X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Frun-pass%2Fempty-tag.rs;h=35c394cf535a579d538372e801a58758f6d1b789;hb=bff462302b3e0a8f68c14cad2806c7ff5005364e;hp=d9201746440854f124d23df14fe344a699f87527;hpb=83c890b4542abf60f833df3da1924ed3ce559862;p=rust.git diff --git a/src/test/run-pass/empty-tag.rs b/src/test/run-pass/empty-tag.rs index d9201746440..35c394cf535 100644 --- a/src/test/run-pass/empty-tag.rs +++ b/src/test/run-pass/empty-tag.rs @@ -8,11 +8,9 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#[derive(Show)] +#[derive(Copy, Show)] enum chan { chan_t, } -impl Copy for chan {} - impl PartialEq for chan { fn eq(&self, other: &chan) -> bool { ((*self) as uint) == ((*other) as uint)