{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/14817","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/14817/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/14817/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/14817/events","html_url":"https://github.com/rust-lang/rust/issues/14817","id":35472059,"number":14817,"title":"IdentTT can't be called as a non-item macro","user":{"login":"Ogeon","id":225229,"avatar_url":"https://avatars.githubusercontent.com/u/225229?v=3","gravatar_id":"","url":"https://api.github.com/users/Ogeon","html_url":"https://github.com/Ogeon","followers_url":"https://api.github.com/users/Ogeon/followers","following_url":"https://api.github.com/users/Ogeon/following{/other_user}","gists_url":"https://api.github.com/users/Ogeon/gists{/gist_id}","starred_url":"https://api.github.com/users/Ogeon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ogeon/subscriptions","organizations_url":"https://api.github.com/users/Ogeon/orgs","repos_url":"https://api.github.com/users/Ogeon/repos","events_url":"https://api.github.com/users/Ogeon/events{/privacy}","received_events_url":"https://api.github.com/users/Ogeon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/A-syntaxext","name":"A-syntaxext","color":"d7e102"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-06-11T10:57:27Z","updated_at":"2015-02-10T23:28:36Z","closed_at":"2015-02-10T23:28:36Z","body":"I have written an IdentTT syntax extension which is supposed to return a block expression and be used like this:\r\n\r\n```Rust\r\nfn main() {\r\n    let something = my_macro! something_else (...);\r\n}\r\n```\r\n\r\nbut this just results in `error: expected open delimiter`, pointing at the provided identifier, and changing it to\r\n\r\n```Rust\r\nfn main() {\r\n    my_macro! something_else (...);\r\n}\r\n```\r\n\r\nresults in `error: non-item macro in item position`."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/73806906","html_url":"https://github.com/rust-lang/rust/issues/14817#issuecomment-73806906","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/14817","id":73806906,"user":{"login":"steveklabnik","id":27786,"avatar_url":"https://avatars.githubusercontent.com/u/27786?v=3","gravatar_id":"","url":"https://api.github.com/users/steveklabnik","html_url":"https://github.com/steveklabnik","followers_url":"https://api.github.com/users/steveklabnik/followers","following_url":"https://api.github.com/users/steveklabnik/following{/other_user}","gists_url":"https://api.github.com/users/steveklabnik/gists{/gist_id}","starred_url":"https://api.github.com/users/steveklabnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveklabnik/subscriptions","organizations_url":"https://api.github.com/users/steveklabnik/orgs","repos_url":"https://api.github.com/users/steveklabnik/repos","events_url":"https://api.github.com/users/steveklabnik/events{/privacy}","received_events_url":"https://api.github.com/users/steveklabnik/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T23:28:36Z","updated_at":"2015-02-10T23:28:36Z","body":"This example no longer compiles, because `BasicIdentMacroExpander` no longer exists. If you still think this is a bug, please post an updated example, but until we can reproduce, I'm going to give this a close."}}