2024-02-16 20:02:50 +00:00
|
|
|
//@ run-pass
|
2019-01-20 17:14:15 -08:00
|
|
|
|
|
|
|
pub trait Stage: Sync {}
|
|
|
|
|
|
|
|
pub enum Enum {
|
|
|
|
A,
|
|
|
|
B,
|
|
|
|
}
|
|
|
|
|
|
|
|
impl Stage for Enum {}
|
|
|
|
|
2019-05-28 14:46:13 -04:00
|
|
|
pub static ARRAY: [(&dyn Stage, &str); 1] = [
|
2019-01-20 17:14:15 -08:00
|
|
|
(&Enum::A, ""),
|
|
|
|
];
|
|
|
|
|
|
|
|
fn main() {}
|