{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/3132","repository_url":"https://api.github.com/repos/rust-lang/cargo","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/3132/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/3132/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/3132/events","html_url":"https://github.com/rust-lang/cargo/issues/3132","id":179944445,"number":3132,"title":"Fails to document rustc_macro","user":{"login":"dtolnay","id":1940490,"avatar_url":"https://avatars.githubusercontent.com/u/1940490?v=3","gravatar_id":"","url":"https://api.github.com/users/dtolnay","html_url":"https://github.com/dtolnay","followers_url":"https://api.github.com/users/dtolnay/followers","following_url":"https://api.github.com/users/dtolnay/following{/other_user}","gists_url":"https://api.github.com/users/dtolnay/gists{/gist_id}","starred_url":"https://api.github.com/users/dtolnay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtolnay/subscriptions","organizations_url":"https://api.github.com/users/dtolnay/orgs","repos_url":"https://api.github.com/users/dtolnay/repos","events_url":"https://api.github.com/users/dtolnay/events{/privacy}","received_events_url":"https://api.github.com/users/dtolnay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-29T03:28:48Z","updated_at":"2016-09-29T04:02:22Z","closed_at":null,"body":"Reported by @neon64 in https://github.com/serde-rs/serde/issues/567: `cargo doc` cannot document any rustc_macro crate or any crate depending on a rustc_macro crate.\r\n\r\nhttps://docs.rs/crate/serde_derive/0.8.10/builds/31363\r\n\r\n```\r\nerror: the `#[rustc_macro_derive]` attribute is only usable with crates of the `rustc-macro` crate type\r\n --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde_derive-0.8.10/src/lib.rs:9:3\r\n  |\r\n9 | #[rustc_macro_derive(Serialize)]\r\n  |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n\r\nerror: the `#[rustc_macro_derive]` attribute is only usable with crates of the `rustc-macro` crate type\r\n  --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde_derive-0.8.10/src/lib.rs:18:3\r\n   |\r\n18 | #[rustc_macro_derive(Deserialize)]\r\n   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n\r\nerror: Compilation failed, aborting rustdoc\r\n```\r\n\r\n@alexcrichton I don't know Cargo well enough to tell whether this is a cargo issue or a rustc issue or a rustdoc issue so sorry if this is filed in the wrong place."},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/250365128","html_url":"https://github.com/rust-lang/cargo/issues/3132#issuecomment-250365128","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/3132","id":250365128,"user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T04:02:22Z","updated_at":"2016-09-29T04:02:22Z","body":"ugg\r\n\r\nThis is a rustdoc bug actually, but I'll re-file over at rust-lang/rust"}}
{"actor":{"display_login":"alexcrichton"}}