{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/28083","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/28083/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/28083/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/28083/events","html_url":"https://github.com/rust-lang/rust/pull/28083","id":103848811,"number":28083,"title":"Document the rules for `extern crate` in doc tests","user":{"login":"astraw","id":30176,"avatar_url":"https://avatars.githubusercontent.com/u/30176?v=3","gravatar_id":"","url":"https://api.github.com/users/astraw","html_url":"https://github.com/astraw","followers_url":"https://api.github.com/users/astraw/followers","following_url":"https://api.github.com/users/astraw/following{/other_user}","gists_url":"https://api.github.com/users/astraw/gists{/gist_id}","starred_url":"https://api.github.com/users/astraw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astraw/subscriptions","organizations_url":"https://api.github.com/users/astraw/orgs","repos_url":"https://api.github.com/users/astraw/repos","events_url":"https://api.github.com/users/astraw/events{/privacy}","received_events_url":"https://api.github.com/users/astraw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"nikomatsakis","id":155238,"avatar_url":"https://avatars.githubusercontent.com/u/155238?v=3","gravatar_id":"","url":"https://api.github.com/users/nikomatsakis","html_url":"https://github.com/nikomatsakis","followers_url":"https://api.github.com/users/nikomatsakis/followers","following_url":"https://api.github.com/users/nikomatsakis/following{/other_user}","gists_url":"https://api.github.com/users/nikomatsakis/gists{/gist_id}","starred_url":"https://api.github.com/users/nikomatsakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikomatsakis/subscriptions","organizations_url":"https://api.github.com/users/nikomatsakis/orgs","repos_url":"https://api.github.com/users/nikomatsakis/repos","events_url":"https://api.github.com/users/nikomatsakis/events{/privacy}","received_events_url":"https://api.github.com/users/nikomatsakis/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-08-29T12:19:50Z","updated_at":"2015-08-29T14:36:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/28083","html_url":"https://github.com/rust-lang/rust/pull/28083","diff_url":"https://github.com/rust-lang/rust/pull/28083.diff","patch_url":"https://github.com/rust-lang/rust/pull/28083.patch"},"body":"This fixes #28082"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/135993427","html_url":"https://github.com/rust-lang/rust/pull/28083#issuecomment-135993427","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/28083","id":135993427,"user":{"login":"astraw","id":30176,"avatar_url":"https://avatars.githubusercontent.com/u/30176?v=3","gravatar_id":"","url":"https://api.github.com/users/astraw","html_url":"https://github.com/astraw","followers_url":"https://api.github.com/users/astraw/followers","following_url":"https://api.github.com/users/astraw/following{/other_user}","gists_url":"https://api.github.com/users/astraw/gists{/gist_id}","starred_url":"https://api.github.com/users/astraw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astraw/subscriptions","organizations_url":"https://api.github.com/users/astraw/orgs","repos_url":"https://api.github.com/users/astraw/repos","events_url":"https://api.github.com/users/astraw/events{/privacy}","received_events_url":"https://api.github.com/users/astraw/received_events","type":"User","site_admin":false},"created_at":"2015-08-29T14:36:38Z","updated_at":"2015-08-29T14:36:38Z","body":"Now I see that this is actually described in the documentation chapter [here](https://doc.rust-lang.org/book/documentation.html#documentation-as-tests). However, I was looking at the testing chapter [here](https://doc.rust-lang.org/book/testing.html#documentation-tests). So the bug report should now be changed to \"cross-referece the doctest part of the documentation chapter from the doctest part of the testing chapter\" since I completely missed the relevant section despite looking for it rather extensively."}}