1
Fork 0

Rollup merge of #57791 - estebank:issue-54582, r=zackmdavis

Add regression test for #54582

Fix #54582.
This commit is contained in:
Mazdak Farrokhzad 2019-01-22 12:20:32 +01:00 committed by GitHub
commit 892e6930ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,16 @@
// run-pass
pub trait Stage: Sync {}
pub enum Enum {
A,
B,
}
impl Stage for Enum {}
pub static ARRAY: [(&Stage, &str); 1] = [
(&Enum::A, ""),
];
fn main() {}