{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/596","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/596/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/596/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/596/events","html_url":"https://github.com/rust-lang/rfcs/issues/596","id":54710698,"number":596,"title":"Aliasing an enum does not allow member access through alias name","user":{"login":"Diggsey","id":451321,"avatar_url":"https://avatars.githubusercontent.com/u/451321?v=3","gravatar_id":"","url":"https://api.github.com/users/Diggsey","html_url":"https://github.com/Diggsey","followers_url":"https://api.github.com/users/Diggsey/followers","following_url":"https://api.github.com/users/Diggsey/following{/other_user}","gists_url":"https://api.github.com/users/Diggsey/gists{/gist_id}","starred_url":"https://api.github.com/users/Diggsey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diggsey/subscriptions","organizations_url":"https://api.github.com/users/Diggsey/orgs","repos_url":"https://api.github.com/users/Diggsey/repos","events_url":"https://api.github.com/users/Diggsey/events{/privacy}","received_events_url":"https://api.github.com/users/Diggsey/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-18T21:23:43Z","updated_at":"2015-01-19T01:55:28Z","closed_at":"2015-01-19T01:55:28Z","body":"The following should work:\r\n\r\n```rust\r\n#[derive(Show)]\r\nenum Foo {\r\n    A,\r\n    B,\r\n    C,\r\n}\r\n\r\ntype Bar = Foo;\r\n\r\nfn main() {\r\n    let test = Bar::A;\r\n\r\n    println!(\"{:?}\", test);\r\n}\r\n```\r\nhttp://is.gd/J8JPNI\r\n"},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/70437843","html_url":"https://github.com/rust-lang/rfcs/issues/596#issuecomment-70437843","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/596","id":70437843,"user":{"login":"Diggsey","id":451321,"avatar_url":"https://avatars.githubusercontent.com/u/451321?v=3","gravatar_id":"","url":"https://api.github.com/users/Diggsey","html_url":"https://github.com/Diggsey","followers_url":"https://api.github.com/users/Diggsey/followers","following_url":"https://api.github.com/users/Diggsey/following{/other_user}","gists_url":"https://api.github.com/users/Diggsey/gists{/gist_id}","starred_url":"https://api.github.com/users/Diggsey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diggsey/subscriptions","organizations_url":"https://api.github.com/users/Diggsey/orgs","repos_url":"https://api.github.com/users/Diggsey/repos","events_url":"https://api.github.com/users/Diggsey/events{/privacy}","received_events_url":"https://api.github.com/users/Diggsey/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T01:55:28Z","updated_at":"2015-01-19T01:55:28Z","body":"Alright, closing this then."}}