rust/tests/ui/consts/issue-54582.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
179 B
Rust
Raw Normal View History

2019-01-20 19:14:15 -06:00
// run-pass
pub trait Stage: Sync {}
pub enum Enum {
A,
B,
}
impl Stage for Enum {}
2019-05-28 13:46:13 -05:00
pub static ARRAY: [(&dyn Stage, &str); 1] = [
2019-01-20 19:14:15 -06:00
(&Enum::A, ""),
];
fn main() {}