{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/18317","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/18317/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/18317/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/18317/events","html_url":"https://github.com/rust-lang/rust/issues/18317","id":46820595,"number":18317,"title":"Problem with pub keywork in macros","user":{"login":"GuillaumeGomez","id":3050060,"avatar_url":"https://avatars.githubusercontent.com/u/3050060?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeGomez","html_url":"https://github.com/GuillaumeGomez","followers_url":"https://api.github.com/users/GuillaumeGomez/followers","following_url":"https://api.github.com/users/GuillaumeGomez/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeGomez/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeGomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeGomez/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeGomez/orgs","repos_url":"https://api.github.com/users/GuillaumeGomez/repos","events_url":"https://api.github.com/users/GuillaumeGomez/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeGomez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/A-macros","name":"A-macros","color":"d7e102"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-10-25T19:08:49Z","updated_at":"2015-02-02T23:32:02Z","closed_at":null,"body":"Hey,\r\n\r\nI have an issue on my macros use. The source code of my macro is [here](https://gist.github.com/GuillaumeGomez/8f78b43c19394e2213a6). I can't put the pub keyword and if I call my macro like this :\r\n\r\n```Rust\r\npub impl_GObjectFunctions!(t1, t2)\r\n```\r\n\r\nThe methods aren't public. Am I doing something wrong or is it a compiler's bug ?\r\n\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/72561801","html_url":"https://github.com/rust-lang/rust/issues/18317#issuecomment-72561801","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/18317","id":72561801,"user":{"login":"GuillaumeGomez","id":3050060,"avatar_url":"https://avatars.githubusercontent.com/u/3050060?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeGomez","html_url":"https://github.com/GuillaumeGomez","followers_url":"https://api.github.com/users/GuillaumeGomez/followers","following_url":"https://api.github.com/users/GuillaumeGomez/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeGomez/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeGomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeGomez/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeGomez/orgs","repos_url":"https://api.github.com/users/GuillaumeGomez/repos","events_url":"https://api.github.com/users/GuillaumeGomez/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeGomez/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T23:32:02Z","updated_at":"2015-02-02T23:32:02Z","body":"Now let's just hope it'll be fixed sooner or later !"}}