{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/57321","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/57321/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/57321/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/57321/events","html_url":"https://github.com/rust-lang/rust/pull/57321","id":395774947,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQyMTUwMDUx","number":57321,"title":"Implement basic input validation for built-in attributes + Stabilize `unrestricted_attribute_tokens`","user":{"login":"petrochenkov","id":5751617,"node_id":"MDQ6VXNlcjU3NTE2MTc=","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},"labels":[{"id":281249002,"node_id":"MDU6TGFiZWwyODEyNDkwMDI=","url":"https://api.github.com/repos/rust-lang/rust/labels/S-waiting-on-crater","name":"S-waiting-on-crater","color":"c2cccc","default":false},{"id":583437099,"node_id":"MDU6TGFiZWw1ODM0MzcwOTk=","url":"https://api.github.com/repos/rust-lang/rust/labels/S-waiting-on-team","name":"S-waiting-on-team","color":"d3dddd","default":false},{"id":211668019,"node_id":"MDU6TGFiZWwyMTE2NjgwMTk=","url":"https://api.github.com/repos/rust-lang/rust/labels/T-lang","name":"T-lang","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2019-01-04T00:44:09Z","updated_at":"2019-01-04T04:50:47Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/57321","html_url":"https://github.com/rust-lang/rust/pull/57321","diff_url":"https://github.com/rust-lang/rust/pull/57321.diff","patch_url":"https://github.com/rust-lang/rust/pull/57321.patch"},"body":"Based on https://github.com/rust-lang/rust/pull/57272\r\n\r\n---\r\n\r\nIn accordance with the plan in https://internals.rust-lang.org/t/unrestricted-attribute-tokens-feature-status/8561:\r\n- The correct top-level shape (`#[attr]` vs `#[attr(...)]` vs `#[attr = ...]`) is enforced for built-in attributes, built-in attributes also must fit into the \"meta-item\" syntax (aka the \"classic attribute syntax\").\r\n- For non-built-in non-macro attributes:\r\n    - The key-value form is restricted to bare minimum required to support what we support on stable - unsuffixed literals (https://github.com/rust-lang/rust/issues/34981).\r\n    - Arbitrary token streams in remaining forms (`#[attr(token_stream)]`, `#[attr{token_stream}]`, `#[attr[token_stream]]` ) are now allowed without a feature gate, like in macro attributes.\r\n\r\nThis will close https://github.com/rust-lang/rust/issues/55208 once completed.\r\nNeed to go through crater first."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/451353042","html_url":"https://github.com/rust-lang/rust/pull/57321#issuecomment-451353042","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/57321","id":451353042,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTM1MzA0Mg==","user":{"login":"Centril","id":855702,"node_id":"MDQ6VXNlcjg1NTcwMg==","avatar_url":"https://avatars2.githubusercontent.com/u/855702?v=4","gravatar_id":"","url":"https://api.github.com/users/Centril","html_url":"https://github.com/Centril","followers_url":"https://api.github.com/users/Centril/followers","following_url":"https://api.github.com/users/Centril/following{/other_user}","gists_url":"https://api.github.com/users/Centril/gists{/gist_id}","starred_url":"https://api.github.com/users/Centril/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Centril/subscriptions","organizations_url":"https://api.github.com/users/Centril/orgs","repos_url":"https://api.github.com/users/Centril/repos","events_url":"https://api.github.com/users/Centril/events{/privacy}","received_events_url":"https://api.github.com/users/Centril/received_events","type":"User","site_admin":false},"created_at":"2019-01-04T04:50:47Z","updated_at":"2019-01-04T04:50:47Z","author_association":"CONTRIBUTOR","body":"Assigning to r? @nikomatsakis for technical review\r\n(I did review everything and it looked great but I'm not an expert...)."}}
{"actor":{"display_login":"Centril"}}