{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/1755","repository_url":"https://api.github.com/repos/rust-lang/rfcs","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1755/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1755/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1755/events","html_url":"https://github.com/rust-lang/rfcs/pull/1755","id":178787675,"number":1755,"title":"Custom attibutes","user":{"login":"nrc","id":762626,"avatar_url":"https://avatars.githubusercontent.com/u/762626?v=3","gravatar_id":"","url":"https://api.github.com/users/nrc","html_url":"https://github.com/nrc","followers_url":"https://api.github.com/users/nrc/followers","following_url":"https://api.github.com/users/nrc/following{/other_user}","gists_url":"https://api.github.com/users/nrc/gists{/gist_id}","starred_url":"https://api.github.com/users/nrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrc/subscriptions","organizations_url":"https://api.github.com/users/nrc/orgs","repos_url":"https://api.github.com/users/nrc/repos","events_url":"https://api.github.com/users/nrc/events{/privacy}","received_events_url":"https://api.github.com/users/nrc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rfcs/labels/T-lang","name":"T-lang","color":"bfd4f2"}],"state":"open","locked":false,"assignee":{"login":"nrc","id":762626,"avatar_url":"https://avatars.githubusercontent.com/u/762626?v=3","gravatar_id":"","url":"https://api.github.com/users/nrc","html_url":"https://github.com/nrc","followers_url":"https://api.github.com/users/nrc/followers","following_url":"https://api.github.com/users/nrc/following{/other_user}","gists_url":"https://api.github.com/users/nrc/gists{/gist_id}","starred_url":"https://api.github.com/users/nrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrc/subscriptions","organizations_url":"https://api.github.com/users/nrc/orgs","repos_url":"https://api.github.com/users/nrc/repos","events_url":"https://api.github.com/users/nrc/events{/privacy}","received_events_url":"https://api.github.com/users/nrc/received_events","type":"User","site_admin":false},"assignees":[{"login":"nrc","id":762626,"avatar_url":"https://avatars.githubusercontent.com/u/762626?v=3","gravatar_id":"","url":"https://api.github.com/users/nrc","html_url":"https://github.com/nrc","followers_url":"https://api.github.com/users/nrc/followers","following_url":"https://api.github.com/users/nrc/following{/other_user}","gists_url":"https://api.github.com/users/nrc/gists{/gist_id}","starred_url":"https://api.github.com/users/nrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrc/subscriptions","organizations_url":"https://api.github.com/users/nrc/orgs","repos_url":"https://api.github.com/users/nrc/repos","events_url":"https://api.github.com/users/nrc/events{/privacy}","received_events_url":"https://api.github.com/users/nrc/received_events","type":"User","site_admin":false}],"milestone":null,"comments":12,"created_at":"2016-09-23T05:24:53Z","updated_at":"2016-10-10T23:31:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/1755","html_url":"https://github.com/rust-lang/rfcs/pull/1755","diff_url":"https://github.com/rust-lang/rfcs/pull/1755.diff","patch_url":"https://github.com/rust-lang/rfcs/pull/1755.patch"},"body":"This RFC specifies custom attributes, which can be used by both external tools\r\nand by compiler plugins of various kinds. It also specifies the interaction of\r\ncustom attributes, built-in attributes, and attribute-like macros.\r\n\r\n[Rendered](https://github.com/nrc/rfcs/blob/attributes/text/0000-attributes.md)"},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/252773214","html_url":"https://github.com/rust-lang/rfcs/pull/1755#issuecomment-252773214","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1755","id":252773214,"user":{"login":"tanriol","id":1027034,"avatar_url":"https://avatars.githubusercontent.com/u/1027034?v=3","gravatar_id":"","url":"https://api.github.com/users/tanriol","html_url":"https://github.com/tanriol","followers_url":"https://api.github.com/users/tanriol/followers","following_url":"https://api.github.com/users/tanriol/following{/other_user}","gists_url":"https://api.github.com/users/tanriol/gists{/gist_id}","starred_url":"https://api.github.com/users/tanriol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanriol/subscriptions","organizations_url":"https://api.github.com/users/tanriol/orgs","repos_url":"https://api.github.com/users/tanriol/repos","events_url":"https://api.github.com/users/tanriol/events{/privacy}","received_events_url":"https://api.github.com/users/tanriol/received_events","type":"User","site_admin":false},"created_at":"2016-10-10T23:31:45Z","updated_at":"2016-10-10T23:31:45Z","body":"> In general though, the tool supplying the attribute will not be linked as an upstream crate,in fact there will be no indication that the tool is used in the code that it is used upon. That is why we need some additional, explicit opt-in rather than relying on extern crates, etc.\r\n\r\nAs an idea, what about\r\n```rust\r\n#[attribute_namespace]\r\nextern crate rustfmt;\r\n```\r\nwhich means \"crate rustfmt is used for nop attributes only, declare the path without doing anything else\"?"}}
{"actor":{"display_login":"tanriol"}}