{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/37946","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/37946/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/37946/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/37946/events","html_url":"https://github.com/rust-lang/rust/pull/37946","id":191158551,"number":37946,"title":"Warn unused type parameters","user":{"login":"sanxiyn","id":45249,"avatar_url":"https://avatars.githubusercontent.com/u/45249?v=3","gravatar_id":"","url":"https://api.github.com/users/sanxiyn","html_url":"https://github.com/sanxiyn","followers_url":"https://api.github.com/users/sanxiyn/followers","following_url":"https://api.github.com/users/sanxiyn/following{/other_user}","gists_url":"https://api.github.com/users/sanxiyn/gists{/gist_id}","starred_url":"https://api.github.com/users/sanxiyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanxiyn/subscriptions","organizations_url":"https://api.github.com/users/sanxiyn/orgs","repos_url":"https://api.github.com/users/sanxiyn/repos","events_url":"https://api.github.com/users/sanxiyn/events{/privacy}","received_events_url":"https://api.github.com/users/sanxiyn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"arielb1","id":1830974,"avatar_url":"https://avatars.githubusercontent.com/u/1830974?v=3","gravatar_id":"","url":"https://api.github.com/users/arielb1","html_url":"https://github.com/arielb1","followers_url":"https://api.github.com/users/arielb1/followers","following_url":"https://api.github.com/users/arielb1/following{/other_user}","gists_url":"https://api.github.com/users/arielb1/gists{/gist_id}","starred_url":"https://api.github.com/users/arielb1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arielb1/subscriptions","organizations_url":"https://api.github.com/users/arielb1/orgs","repos_url":"https://api.github.com/users/arielb1/repos","events_url":"https://api.github.com/users/arielb1/events{/privacy}","received_events_url":"https://api.github.com/users/arielb1/received_events","type":"User","site_admin":false},"assignees":[{"login":"arielb1","id":1830974,"avatar_url":"https://avatars.githubusercontent.com/u/1830974?v=3","gravatar_id":"","url":"https://api.github.com/users/arielb1","html_url":"https://github.com/arielb1","followers_url":"https://api.github.com/users/arielb1/followers","following_url":"https://api.github.com/users/arielb1/following{/other_user}","gists_url":"https://api.github.com/users/arielb1/gists{/gist_id}","starred_url":"https://api.github.com/users/arielb1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arielb1/subscriptions","organizations_url":"https://api.github.com/users/arielb1/orgs","repos_url":"https://api.github.com/users/arielb1/repos","events_url":"https://api.github.com/users/arielb1/events{/privacy}","received_events_url":"https://api.github.com/users/arielb1/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2016-11-23T00:03:33Z","updated_at":"2016-12-16T15:46:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/37946","html_url":"https://github.com/rust-lang/rust/pull/37946","diff_url":"https://github.com/rust-lang/rust/pull/37946.diff","patch_url":"https://github.com/rust-lang/rust/pull/37946.patch"},"body":"Rebase of #26684. Fix #25871.\r\n\r\nFollowing @huonw's suggestion, warning is disabled for intrinsics and lang items. An example of unused but not incorrect type parameters is `core::intrinsics::size_of` for intrinsics and `core::marker::PhantomData` for lang items.\r\n\r\nFollowing @nikomatsakis's suggestion, warning can be silenced by prefixing the underscore as in `_T`. As pointed out, `fn _is_sync_send<_T: Sync+Send>() {}` is analogous to `fn drop<T>(_x: T) {}` for unused variables."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/267623141","html_url":"https://github.com/rust-lang/rust/pull/37946#issuecomment-267623141","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/37946","id":267623141,"user":{"login":"petrochenkov","id":5751617,"avatar_url":"https://avatars.githubusercontent.com/u/5751617?v=3","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},"created_at":"2016-12-16T15:46:51Z","updated_at":"2016-12-16T15:46:51Z","body":"@sanxiyn \r\n>I would like to get some (any) opinion on this, unlike my last attempt in 2015 which received no comments for a month and closed for inactivity.\r\n\r\nEveryone seems to be on vacation at the moment.\r\nIt would be interesting to test this with crater (probably in forbid-by-default form) to see the statistics of breakage. The potential for breakage seems to be relatively high, maybe it will end up as allow-by-default in the worst case."}}
{"actor":{"display_login":"petrochenkov"}}