{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/47809","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/47809/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/47809/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/47809/events","html_url":"https://github.com/rust-lang/rust/issues/47809","id":292138490,"node_id":"MDU6SXNzdWUyOTIxMzg0OTA=","number":47809,"title":"Tracking issue for RFC 2091: Implicit caller location","user":{"login":"aturon","id":709807,"node_id":"MDQ6VXNlcjcwOTgwNw==","avatar_url":"https://avatars2.githubusercontent.com/u/709807?v=4","gravatar_id":"","url":"https://api.github.com/users/aturon","html_url":"https://github.com/aturon","followers_url":"https://api.github.com/users/aturon/followers","following_url":"https://api.github.com/users/aturon/following{/other_user}","gists_url":"https://api.github.com/users/aturon/gists{/gist_id}","starred_url":"https://api.github.com/users/aturon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aturon/subscriptions","organizations_url":"https://api.github.com/users/aturon/orgs","repos_url":"https://api.github.com/users/aturon/repos","events_url":"https://api.github.com/users/aturon/events{/privacy}","received_events_url":"https://api.github.com/users/aturon/received_events","type":"User","site_admin":false},"labels":[{"id":89436934,"node_id":"MDU6TGFiZWw4OTQzNjkzNA==","url":"https://api.github.com/repos/rust-lang/rust/labels/B-RFC-approved","name":"B-RFC-approved","color":"d304cb","default":false},{"id":650846969,"node_id":"MDU6TGFiZWw2NTA4NDY5Njk=","url":"https://api.github.com/repos/rust-lang/rust/labels/C-tracking-issue","name":"C-tracking-issue","color":"f5f1fd","default":false},{"id":67766349,"node_id":"MDU6TGFiZWw2Nzc2NjM0OQ==","url":"https://api.github.com/repos/rust-lang/rust/labels/E-mentor","name":"E-mentor","color":"02E10C","default":false},{"id":1606844895,"node_id":"MDU6TGFiZWwxNjA2ODQ0ODk1","url":"https://api.github.com/repos/rust-lang/rust/labels/F-track_caller","name":"F-track_caller","color":"f9c0cc","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":{"login":"anp","id":6812281,"node_id":"MDQ6VXNlcjY4MTIyODE=","avatar_url":"https://avatars2.githubusercontent.com/u/6812281?v=4","gravatar_id":"","url":"https://api.github.com/users/anp","html_url":"https://github.com/anp","followers_url":"https://api.github.com/users/anp/followers","following_url":"https://api.github.com/users/anp/following{/other_user}","gists_url":"https://api.github.com/users/anp/gists{/gist_id}","starred_url":"https://api.github.com/users/anp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anp/subscriptions","organizations_url":"https://api.github.com/users/anp/orgs","repos_url":"https://api.github.com/users/anp/repos","events_url":"https://api.github.com/users/anp/events{/privacy}","received_events_url":"https://api.github.com/users/anp/received_events","type":"User","site_admin":false},"assignees":[{"login":"anp","id":6812281,"node_id":"MDQ6VXNlcjY4MTIyODE=","avatar_url":"https://avatars2.githubusercontent.com/u/6812281?v=4","gravatar_id":"","url":"https://api.github.com/users/anp","html_url":"https://github.com/anp","followers_url":"https://api.github.com/users/anp/followers","following_url":"https://api.github.com/users/anp/following{/other_user}","gists_url":"https://api.github.com/users/anp/gists{/gist_id}","starred_url":"https://api.github.com/users/anp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anp/subscriptions","organizations_url":"https://api.github.com/users/anp/orgs","repos_url":"https://api.github.com/users/anp/repos","events_url":"https://api.github.com/users/anp/events{/privacy}","received_events_url":"https://api.github.com/users/anp/received_events","type":"User","site_admin":false}],"milestone":null,"comments":24,"created_at":"2018-01-27T17:46:00Z","updated_at":"2019-10-11T16:46:41Z","closed_at":null,"author_association":"MEMBER","body":"This is a tracking issue for the RFC \"Implicit caller location\" (rust-lang/rfcs#2091).\r\n\r\n**Steps:**\r\n\r\n- [ ] Implement the RFC (cc @rust-lang/compiler -- can anyone write up mentoring instructions?)\r\n- [ ] Adjust documentation ([see instructions on forge][doc-guide])\r\n- [ ] Stabilization PR ([see instructions on forge][stabilization-guide])\r\n\r\n[stabilization-guide]: https://forge.rust-lang.org/stabilization-guide.html\r\n[doc-guide]: https://forge.rust-lang.org/stabilization-guide.html#updating-documentation\r\n\r\n**Unresolved questions:**\r\n\r\n* If we want to support adding `#[track_caller]` to trait methods, the redirection\r\n    pass/query/whatever should be placed after monomorphization, not before. Currently the RFC\r\n    simply prohibits applying `#[track_caller]` to trait methods as a future-proofing measure.\r\n\r\n* Diverging functions should be supported.\r\n\r\n* The closure `foo::{{closure}}` should inherit most attributes applied to the function `foo`, in\r\n    particular `#[inline]`, `#[cold]`, `#[naked]` and also the ABI. Currently a procedural macro\r\n    won't see any of these, nor would there be anyway to apply these attributes to a closure.\r\n    Therefore, `#[rustc_implicit_caller_location]` currently will reject `#[naked]` and ABI, and\r\n    leaving `#[inline]` and `#[cold]` mean no-op. There is no semantic reason why these cannot be\r\n    used though.\r\n"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/541139560","html_url":"https://github.com/rust-lang/rust/issues/47809#issuecomment-541139560","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/47809","id":541139560,"node_id":"MDEyOklzc3VlQ29tbWVudDU0MTEzOTU2MA==","user":{"login":"anp","id":6812281,"node_id":"MDQ6VXNlcjY4MTIyODE=","avatar_url":"https://avatars2.githubusercontent.com/u/6812281?v=4","gravatar_id":"","url":"https://api.github.com/users/anp","html_url":"https://github.com/anp","followers_url":"https://api.github.com/users/anp/followers","following_url":"https://api.github.com/users/anp/following{/other_user}","gists_url":"https://api.github.com/users/anp/gists{/gist_id}","starred_url":"https://api.github.com/users/anp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anp/subscriptions","organizations_url":"https://api.github.com/users/anp/orgs","repos_url":"https://api.github.com/users/anp/repos","events_url":"https://api.github.com/users/anp/events{/privacy}","received_events_url":"https://api.github.com/users/anp/received_events","type":"User","site_admin":false},"created_at":"2019-10-11T16:46:41Z","updated_at":"2019-10-11T16:46:41Z","author_association":"MEMBER","body":"Is it different for macro expansions? I would naively assume so."}}
{"actor":{"display_login":"anp"}}