{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/50693","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/50693/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/50693/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/50693/events","html_url":"https://github.com/rust-lang/rust/pull/50693","id":322535940,"number":50693,"title":"typeck: Do not use the field_ty of a private field","user":{"login":"dlrobertson","id":7504153,"avatar_url":"https://avatars1.githubusercontent.com/u/7504153?v=4","gravatar_id":"","url":"https://api.github.com/users/dlrobertson","html_url":"https://github.com/dlrobertson","followers_url":"https://api.github.com/users/dlrobertson/followers","following_url":"https://api.github.com/users/dlrobertson/following{/other_user}","gists_url":"https://api.github.com/users/dlrobertson/gists{/gist_id}","starred_url":"https://api.github.com/users/dlrobertson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlrobertson/subscriptions","organizations_url":"https://api.github.com/users/dlrobertson/orgs","repos_url":"https://api.github.com/users/dlrobertson/repos","events_url":"https://api.github.com/users/dlrobertson/events{/privacy}","received_events_url":"https://api.github.com/users/dlrobertson/received_events","type":"User","site_admin":false},"labels":[{"id":583437191,"url":"https://api.github.com/repos/rust-lang/rust/labels/S-waiting-on-bors","name":"S-waiting-on-bors","color":"d3dddd","default":false},{"id":201991156,"url":"https://api.github.com/repos/rust-lang/rust/labels/beta-nominated","name":"beta-nominated","color":"1e76d9","default":false}],"state":"open","locked":false,"assignee":{"login":"petrochenkov","id":5751617,"avatar_url":"https://avatars2.githubusercontent.com/u/5751617?v=4","gravatar_id":"","url":"https://api.github.com/users/petrochenkov","html_url":"https://github.com/petrochenkov","followers_url":"https://api.github.com/users/petrochenkov/followers","following_url":"https://api.github.com/users/petrochenkov/following{/other_user}","gists_url":"https://api.github.com/users/petrochenkov/gists{/gist_id}","starred_url":"https://api.github.com/users/petrochenkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrochenkov/subscriptions","organizations_url":"https://api.github.com/users/petrochenkov/orgs","repos_url":"https://api.github.com/users/petrochenkov/repos","events_url":"https://api.github.com/users/petrochenkov/events{/privacy}","received_events_url":"https://api.github.com/users/petrochenkov/received_events","type":"User","site_admin":false},"assignees":[{"login":"petrochenkov","id":5751617,"avatar_url":"https://avatars2.githubusercontent.com/u/5751617?v=4","gravatar_id":"","url":"https://api.github.com/users/petrochenkov","html_url":"https://github.com/petrochenkov","followers_url":"https://api.github.com/users/petrochenkov/followers","following_url":"https://api.github.com/users/petrochenkov/following{/other_user}","gists_url":"https://api.github.com/users/petrochenkov/gists{/gist_id}","starred_url":"https://api.github.com/users/petrochenkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrochenkov/subscriptions","organizations_url":"https://api.github.com/users/petrochenkov/orgs","repos_url":"https://api.github.com/users/petrochenkov/repos","events_url":"https://api.github.com/users/petrochenkov/events{/privacy}","received_events_url":"https://api.github.com/users/petrochenkov/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2018-05-12T19:15:58Z","updated_at":"2018-05-14T01:34:12Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/50693","html_url":"https://github.com/rust-lang/rust/pull/50693","diff_url":"https://github.com/rust-lang/rust/pull/50693.diff","patch_url":"https://github.com/rust-lang/rust/pull/50693.patch"},"body":"Do not return the field type of a private field. This could cause\r\nproblems later when attempting to index fields.\r\n\r\n**NB:** This change does cause a reduction in the amount\r\nof useful error output when a private field is used. See\r\nthe changed test `issue-25386.rs` for an example. If this\r\nreduction in error output is not acceptable, the solution\r\nproposed [here] might work.\r\n\r\nFixes: #50493\r\n\r\n[here]: https://github.com/rust-lang/rust/issues/50493#issuecomment-388213092"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/388673169","html_url":"https://github.com/rust-lang/rust/pull/50693#issuecomment-388673169","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/50693","id":388673169,"user":{"login":"dlrobertson","id":7504153,"avatar_url":"https://avatars1.githubusercontent.com/u/7504153?v=4","gravatar_id":"","url":"https://api.github.com/users/dlrobertson","html_url":"https://github.com/dlrobertson","followers_url":"https://api.github.com/users/dlrobertson/followers","following_url":"https://api.github.com/users/dlrobertson/following{/other_user}","gists_url":"https://api.github.com/users/dlrobertson/gists{/gist_id}","starred_url":"https://api.github.com/users/dlrobertson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlrobertson/subscriptions","organizations_url":"https://api.github.com/users/dlrobertson/orgs","repos_url":"https://api.github.com/users/dlrobertson/repos","events_url":"https://api.github.com/users/dlrobertson/events{/privacy}","received_events_url":"https://api.github.com/users/dlrobertson/received_events","type":"User","site_admin":false},"created_at":"2018-05-14T01:34:12Z","updated_at":"2018-05-14T01:34:12Z","author_association":"CONTRIBUTOR","body":"@petrochenkov I updated the commit (The commit message was no longer valid). bors will probably need another r+"}}
{"actor":{"display_login":"dlrobertson"}}