{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/34495","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/34495/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/34495/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/34495/events","html_url":"https://github.com/rust-lang/rust/pull/34495","id":162368397,"number":34495,"title":"Forbid type parameters and global paths in macro invocations","user":{"login":"jseyfried","id":8652869,"avatar_url":"https://avatars.githubusercontent.com/u/8652869?v=3","gravatar_id":"","url":"https://api.github.com/users/jseyfried","html_url":"https://github.com/jseyfried","followers_url":"https://api.github.com/users/jseyfried/followers","following_url":"https://api.github.com/users/jseyfried/following{/other_user}","gists_url":"https://api.github.com/users/jseyfried/gists{/gist_id}","starred_url":"https://api.github.com/users/jseyfried/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jseyfried/subscriptions","organizations_url":"https://api.github.com/users/jseyfried/orgs","repos_url":"https://api.github.com/users/jseyfried/repos","events_url":"https://api.github.com/users/jseyfried/events{/privacy}","received_events_url":"https://api.github.com/users/jseyfried/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"eddyb","id":77424,"avatar_url":"https://avatars.githubusercontent.com/u/77424?v=3","gravatar_id":"","url":"https://api.github.com/users/eddyb","html_url":"https://github.com/eddyb","followers_url":"https://api.github.com/users/eddyb/followers","following_url":"https://api.github.com/users/eddyb/following{/other_user}","gists_url":"https://api.github.com/users/eddyb/gists{/gist_id}","starred_url":"https://api.github.com/users/eddyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eddyb/subscriptions","organizations_url":"https://api.github.com/users/eddyb/orgs","repos_url":"https://api.github.com/users/eddyb/repos","events_url":"https://api.github.com/users/eddyb/events{/privacy}","received_events_url":"https://api.github.com/users/eddyb/received_events","type":"User","site_admin":false},"assignees":[{"login":"eddyb","id":77424,"avatar_url":"https://avatars.githubusercontent.com/u/77424?v=3","gravatar_id":"","url":"https://api.github.com/users/eddyb","html_url":"https://github.com/eddyb","followers_url":"https://api.github.com/users/eddyb/followers","following_url":"https://api.github.com/users/eddyb/following{/other_user}","gists_url":"https://api.github.com/users/eddyb/gists{/gist_id}","starred_url":"https://api.github.com/users/eddyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eddyb/subscriptions","organizations_url":"https://api.github.com/users/eddyb/orgs","repos_url":"https://api.github.com/users/eddyb/repos","events_url":"https://api.github.com/users/eddyb/events{/privacy}","received_events_url":"https://api.github.com/users/eddyb/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-06-27T03:34:33Z","updated_at":"2016-06-27T12:19:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/34495","html_url":"https://github.com/rust-lang/rust/pull/34495","diff_url":"https://github.com/rust-lang/rust/pull/34495.diff","patch_url":"https://github.com/rust-lang/rust/pull/34495.patch"},"body":"Fixes #28558.\r\nThis is a [breaking-change]. For example, the following would break:\r\n```rust\r\nmacro_rules! m { () => { () } }\r\nfn main() {\r\n    m::<T>!(); // Type parameters are no longer allowed in macro invocations\r\n    ::m!(); // Global paths are no longer allowed in macro invocations\r\n}\r\n```\r\nAny breakage can be fixed by removing the type parameters or the leading `::` (respectively).\r\n\r\nr? @eddyb"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/228729781","html_url":"https://github.com/rust-lang/rust/pull/34495#issuecomment-228729781","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/34495","id":228729781,"user":{"login":"jseyfried","id":8652869,"avatar_url":"https://avatars.githubusercontent.com/u/8652869?v=3","gravatar_id":"","url":"https://api.github.com/users/jseyfried","html_url":"https://github.com/jseyfried","followers_url":"https://api.github.com/users/jseyfried/followers","following_url":"https://api.github.com/users/jseyfried/following{/other_user}","gists_url":"https://api.github.com/users/jseyfried/gists{/gist_id}","starred_url":"https://api.github.com/users/jseyfried/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jseyfried/subscriptions","organizations_url":"https://api.github.com/users/jseyfried/orgs","repos_url":"https://api.github.com/users/jseyfried/repos","events_url":"https://api.github.com/users/jseyfried/events{/privacy}","received_events_url":"https://api.github.com/users/jseyfried/received_events","type":"User","site_admin":false},"created_at":"2016-06-27T12:19:34Z","updated_at":"2016-06-27T12:19:34Z","body":"@eddyb r=you?"}}
{"actor":{"display_login":"jseyfried"}}