{"action":"closed","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/17697","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/17697/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/17697/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/17697/events","html_url":"https://github.com/rust-lang/rust/issues/17697","id":44620959,"number":17697,"title":"Warn when private structs have public fields","user":{"login":"mahkoh","id":1882250,"avatar_url":"https://avatars.githubusercontent.com/u/1882250?v=3","gravatar_id":"","url":"https://api.github.com/users/mahkoh","html_url":"https://github.com/mahkoh","followers_url":"https://api.github.com/users/mahkoh/followers","following_url":"https://api.github.com/users/mahkoh/following{/other_user}","gists_url":"https://api.github.com/users/mahkoh/gists{/gist_id}","starred_url":"https://api.github.com/users/mahkoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mahkoh/subscriptions","organizations_url":"https://api.github.com/users/mahkoh/orgs","repos_url":"https://api.github.com/users/mahkoh/repos","events_url":"https://api.github.com/users/mahkoh/events{/privacy}","received_events_url":"https://api.github.com/users/mahkoh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/A-lint","name":"A-lint","color":"d7e102"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-10-01T21:26:39Z","updated_at":"2015-04-11T19:22:47Z","closed_at":"2015-04-11T19:22:47Z","body":"```rust\r\n#![crate_type = \"lib\"]\r\n\r\nstruct X {\r\n    pub i: int,\r\n}\r\n\r\npub fn f() {\r\n    X { i: 1 };\r\n}\r\n```"}}