fix run-pass test that required Copy
impl
This commit is contained in:
parent
9e0171f7c8
commit
75da4b663e
@ -8,7 +8,9 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
enum E { V1(isize), V0 }
|
||||
|
||||
const C: &'static [E] = &[E::V0, E::V1(0xDEADBEE)];
|
||||
static C0: E = C[0];
|
||||
static C1: E = C[1];
|
||||
|
Loading…
Reference in New Issue
Block a user