{"action":"created","comment":{"url":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/comments/57617350","id":57617350,"diff_hunk":"@@ -0,0 +1,30 @@\n+//! This file tests for the DOC_MARKDOWN lint\n+//~^ ERROR: you should put `DOC_MARKDOWN` between ticks\n+\n+#![feature(plugin)]\n+#![plugin(clippy)]\n+\n+#![deny(doc_markdown)]\n+\n+/// The foo_bar function does _nothing_. See also foo::bar. (note the dot there)\n+/// Markdown is _weird_. I mean _really weird_.  This \\_ is ok. So is `_`. But not Foo::some_fun\n+/// which should be reported only once despite being __doubly bad__.\n+fn foo_bar() {\n+//~^ ERROR: you should put `foo_bar` between ticks\n+//~| ERROR: you should put `foo::bar` between ticks\n+//~| ERROR: you should put `Foo::some_fun` between ticks\n+}\n+\n+/// That one tests multiline ticks.\n+/// ```rust\n+/// foo_bar FOO_BAR\n+/// ```\n+fn multiline_ticks() {\n+}\n+\n+/// The `main` function is the entry point of the program. Here it only calls the `foo_bar` and\n+/// `multiline_ticks` functions.\n+fn main() {\n+    foo_bar();\n+    multiline_ticks();\n+}","path":"tests/compile-fail/doc.rs","position":30,"original_position":30,"commit_id":"f6349550bdbb05bb643c1a9af674484c128853bb","original_commit_id":"f6349550bdbb05bb643c1a9af674484c128853bb","user":{"login":"llogiq","id":4200835,"avatar_url":"https://avatars.githubusercontent.com/u/4200835?v=3","gravatar_id":"","url":"https://api.github.com/users/llogiq","html_url":"https://github.com/llogiq","followers_url":"https://api.github.com/users/llogiq/followers","following_url":"https://api.github.com/users/llogiq/following{/other_user}","gists_url":"https://api.github.com/users/llogiq/gists{/gist_id}","starred_url":"https://api.github.com/users/llogiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llogiq/subscriptions","organizations_url":"https://api.github.com/users/llogiq/orgs","repos_url":"https://api.github.com/users/llogiq/repos","events_url":"https://api.github.com/users/llogiq/events{/privacy}","received_events_url":"https://api.github.com/users/llogiq/received_events","type":"User","site_admin":false},"body":"I'd like to see a test for multiline emphasis.","created_at":"2016-03-28T19:15:03Z","updated_at":"2016-03-28T19:15:03Z","html_url":"https://github.com/Manishearth/rust-clippy/pull/780#discussion_r57617350","pull_request_url":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/780","_links":{"self":{"href":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/comments/57617350"},"html":{"href":"https://github.com/Manishearth/rust-clippy/pull/780#discussion_r57617350"},"pull_request":{"href":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/780"}}},"pull_request":{"url":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/780","id":63472717,"html_url":"https://github.com/Manishearth/rust-clippy/pull/780","diff_url":"https://github.com/Manishearth/rust-clippy/pull/780.diff","patch_url":"https://github.com/Manishearth/rust-clippy/pull/780.patch","issue_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/780","number":780,"state":"open","locked":false,"title":"Doc stuff","user":{"login":"mcarton","id":3751788,"avatar_url":"https://avatars.githubusercontent.com/u/3751788?v=3","gravatar_id":"","url":"https://api.github.com/users/mcarton","html_url":"https://github.com/mcarton","followers_url":"https://api.github.com/users/mcarton/followers","following_url":"https://api.github.com/users/mcarton/following{/other_user}","gists_url":"https://api.github.com/users/mcarton/gists{/gist_id}","starred_url":"https://api.github.com/users/mcarton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcarton/subscriptions","organizations_url":"https://api.github.com/users/mcarton/orgs","repos_url":"https://api.github.com/users/mcarton/repos","events_url":"https://api.github.com/users/mcarton/events{/privacy}","received_events_url":"https://api.github.com/users/mcarton/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-19T17:01:38Z","updated_at":"2016-03-28T19:15:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"44d9bc3977cebc7ac5305fc4c63edcc57989c0bb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/780/commits","review_comments_url":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/780/comments","review_comment_url":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/780/comments","statuses_url":"https://api.github.com/repos/Manishearth/rust-clippy/statuses/f6349550bdbb05bb643c1a9af674484c128853bb","head":{"label":"mcarton:doc","ref":"doc","sha":"f6349550bdbb05bb643c1a9af674484c128853bb","user":{"login":"mcarton","id":3751788,"avatar_url":"https://avatars.githubusercontent.com/u/3751788?v=3","gravatar_id":"","url":"https://api.github.com/users/mcarton","html_url":"https://github.com/mcarton","followers_url":"https://api.github.com/users/mcarton/followers","following_url":"https://api.github.com/users/mcarton/following{/other_user}","gists_url":"https://api.github.com/users/mcarton/gists{/gist_id}","starred_url":"https://api.github.com/users/mcarton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcarton/subscriptions","organizations_url":"https://api.github.com/users/mcarton/orgs","repos_url":"https://api.github.com/users/mcarton/repos","events_url":"https://api.github.com/users/mcarton/events{/privacy}","received_events_url":"https://api.github.com/users/mcarton/received_events","type":"User","site_admin":false},"repo":{"id":48387599,"name":"rust-clippy","full_name":"mcarton/rust-clippy","owner":{"login":"mcarton","id":3751788,"avatar_url":"https://avatars.githubusercontent.com/u/3751788?v=3","gravatar_id":"","url":"https://api.github.com/users/mcarton","html_url":"https://github.com/mcarton","followers_url":"https://api.github.com/users/mcarton/followers","following_url":"https://api.github.com/users/mcarton/following{/other_user}","gists_url":"https://api.github.com/users/mcarton/gists{/gist_id}","starred_url":"https://api.github.com/users/mcarton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcarton/subscriptions","organizations_url":"https://api.github.com/users/mcarton/orgs","repos_url":"https://api.github.com/users/mcarton/repos","events_url":"https://api.github.com/users/mcarton/events{/privacy}","received_events_url":"https://api.github.com/users/mcarton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mcarton/rust-clippy","description":"A bunch of lints to catch common mistakes and improve your Rust code","fork":true,"url":"https://api.github.com/repos/mcarton/rust-clippy","forks_url":"https://api.github.com/repos/mcarton/rust-clippy/forks","keys_url":"https://api.github.com/repos/mcarton/rust-clippy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mcarton/rust-clippy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mcarton/rust-clippy/teams","hooks_url":"https://api.github.com/repos/mcarton/rust-clippy/hooks","issue_events_url":"https://api.github.com/repos/mcarton/rust-clippy/issues/events{/number}","events_url":"https://api.github.com/repos/mcarton/rust-clippy/events","assignees_url":"https://api.github.com/repos/mcarton/rust-clippy/assignees{/user}","branches_url":"https://api.github.com/repos/mcarton/rust-clippy/branches{/branch}","tags_url":"https://api.github.com/repos/mcarton/rust-clippy/tags","blobs_url":"https://api.github.com/repos/mcarton/rust-clippy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mcarton/rust-clippy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mcarton/rust-clippy/git/refs{/sha}","trees_url":"https://api.github.com/repos/mcarton/rust-clippy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mcarton/rust-clippy/statuses/{sha}","languages_url":"https://api.github.com/repos/mcarton/rust-clippy/languages","stargazers_url":"https://api.github.com/repos/mcarton/rust-clippy/stargazers","contributors_url":"https://api.github.com/repos/mcarton/rust-clippy/contributors","subscribers_url":"https://api.github.com/repos/mcarton/rust-clippy/subscribers","subscription_url":"https://api.github.com/repos/mcarton/rust-clippy/subscription","commits_url":"https://api.github.com/repos/mcarton/rust-clippy/commits{/sha}","git_commits_url":"https://api.github.com/repos/mcarton/rust-clippy/git/commits{/sha}","comments_url":"https://api.github.com/repos/mcarton/rust-clippy/comments{/number}","issue_comment_url":"https://api.github.com/repos/mcarton/rust-clippy/issues/comments{/number}","contents_url":"https://api.github.com/repos/mcarton/rust-clippy/contents/{+path}","compare_url":"https://api.github.com/repos/mcarton/rust-clippy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mcarton/rust-clippy/merges","archive_url":"https://api.github.com/repos/mcarton/rust-clippy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mcarton/rust-clippy/downloads","issues_url":"https://api.github.com/repos/mcarton/rust-clippy/issues{/number}","pulls_url":"https://api.github.com/repos/mcarton/rust-clippy/pulls{/number}","milestones_url":"https://api.github.com/repos/mcarton/rust-clippy/milestones{/number}","notifications_url":"https://api.github.com/repos/mcarton/rust-clippy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mcarton/rust-clippy/labels{/name}","releases_url":"https://api.github.com/repos/mcarton/rust-clippy/releases{/id}","deployments_url":"https://api.github.com/repos/mcarton/rust-clippy/deployments","created_at":"2015-12-21T18:31:02Z","updated_at":"2016-01-19T11:06:09Z","pushed_at":"2016-03-28T16:08:26Z","git_url":"git://github.com/mcarton/rust-clippy.git","ssh_url":"git@github.com:mcarton/rust-clippy.git","clone_url":"https://github.com/mcarton/rust-clippy.git","svn_url":"https://github.com/mcarton/rust-clippy","homepage":"","size":1892,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Manishearth:master","ref":"master","sha":"ae24929cd65ab2ab50a6ae7bba2a03e93e573c84","user":{"login":"Manishearth","id":1617736,"avatar_url":"https://avatars.githubusercontent.com/u/1617736?v=3","gravatar_id":"","url":"https://api.github.com/users/Manishearth","html_url":"https://github.com/Manishearth","followers_url":"https://api.github.com/users/Manishearth/followers","following_url":"https://api.github.com/users/Manishearth/following{/other_user}","gists_url":"https://api.github.com/users/Manishearth/gists{/gist_id}","starred_url":"https://api.github.com/users/Manishearth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manishearth/subscriptions","organizations_url":"https://api.github.com/users/Manishearth/orgs","repos_url":"https://api.github.com/users/Manishearth/repos","events_url":"https://api.github.com/users/Manishearth/events{/privacy}","received_events_url":"https://api.github.com/users/Manishearth/received_events","type":"User","site_admin":false},"repo":{"id":26850443,"name":"rust-clippy","full_name":"Manishearth/rust-clippy","owner":{"login":"Manishearth","id":1617736,"avatar_url":"https://avatars.githubusercontent.com/u/1617736?v=3","gravatar_id":"","url":"https://api.github.com/users/Manishearth","html_url":"https://github.com/Manishearth","followers_url":"https://api.github.com/users/Manishearth/followers","following_url":"https://api.github.com/users/Manishearth/following{/other_user}","gists_url":"https://api.github.com/users/Manishearth/gists{/gist_id}","starred_url":"https://api.github.com/users/Manishearth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manishearth/subscriptions","organizations_url":"https://api.github.com/users/Manishearth/orgs","repos_url":"https://api.github.com/users/Manishearth/repos","events_url":"https://api.github.com/users/Manishearth/events{/privacy}","received_events_url":"https://api.github.com/users/Manishearth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Manishearth/rust-clippy","description":"A bunch of lints to catch common mistakes and improve your Rust code","fork":false,"url":"https://api.github.com/repos/Manishearth/rust-clippy","forks_url":"https://api.github.com/repos/Manishearth/rust-clippy/forks","keys_url":"https://api.github.com/repos/Manishearth/rust-clippy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Manishearth/rust-clippy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Manishearth/rust-clippy/teams","hooks_url":"https://api.github.com/repos/Manishearth/rust-clippy/hooks","issue_events_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/events{/number}","events_url":"https://api.github.com/repos/Manishearth/rust-clippy/events","assignees_url":"https://api.github.com/repos/Manishearth/rust-clippy/assignees{/user}","branches_url":"https://api.github.com/repos/Manishearth/rust-clippy/branches{/branch}","tags_url":"https://api.github.com/repos/Manishearth/rust-clippy/tags","blobs_url":"https://api.github.com/repos/Manishearth/rust-clippy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Manishearth/rust-clippy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Manishearth/rust-clippy/git/refs{/sha}","trees_url":"https://api.github.com/repos/Manishearth/rust-clippy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Manishearth/rust-clippy/statuses/{sha}","languages_url":"https://api.github.com/repos/Manishearth/rust-clippy/languages","stargazers_url":"https://api.github.com/repos/Manishearth/rust-clippy/stargazers","contributors_url":"https://api.github.com/repos/Manishearth/rust-clippy/contributors","subscribers_url":"https://api.github.com/repos/Manishearth/rust-clippy/subscribers","subscription_url":"https://api.github.com/repos/Manishearth/rust-clippy/subscription","commits_url":"https://api.github.com/repos/Manishearth/rust-clippy/commits{/sha}","git_commits_url":"https://api.github.com/repos/Manishearth/rust-clippy/git/commits{/sha}","comments_url":"https://api.github.com/repos/Manishearth/rust-clippy/comments{/number}","issue_comment_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/comments{/number}","contents_url":"https://api.github.com/repos/Manishearth/rust-clippy/contents/{+path}","compare_url":"https://api.github.com/repos/Manishearth/rust-clippy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Manishearth/rust-clippy/merges","archive_url":"https://api.github.com/repos/Manishearth/rust-clippy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Manishearth/rust-clippy/downloads","issues_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues{/number}","pulls_url":"https://api.github.com/repos/Manishearth/rust-clippy/pulls{/number}","milestones_url":"https://api.github.com/repos/Manishearth/rust-clippy/milestones{/number}","notifications_url":"https://api.github.com/repos/Manishearth/rust-clippy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Manishearth/rust-clippy/labels{/name}","releases_url":"https://api.github.com/repos/Manishearth/rust-clippy/releases{/id}","deployments_url":"https://api.github.com/repos/Manishearth/rust-clippy/deployments","created_at":"2014-11-19T07:49:21Z","updated_at":"2016-03-28T07:58:52Z","pushed_at":"2016-03-28T16:08:27Z","git_url":"git://github.com/Manishearth/rust-clippy.git","ssh_url":"git@github.com:Manishearth/rust-clippy.git","clone_url":"https://github.com/Manishearth/rust-clippy.git","svn_url":"https://github.com/Manishearth/rust-clippy","homepage":"","size":2032,"stargazers_count":522,"watchers_count":522,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":67,"mirror_url":null,"open_issues_count":164,"forks":67,"open_issues":164,"watchers":522,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/780"},"html":{"href":"https://github.com/Manishearth/rust-clippy/pull/780"},"issue":{"href":"https://api.github.com/repos/Manishearth/rust-clippy/issues/780"},"comments":{"href":"https://api.github.com/repos/Manishearth/rust-clippy/issues/780/comments"},"review_comments":{"href":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/780/comments"},"review_comment":{"href":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/780/commits"},"statuses":{"href":"https://api.github.com/repos/Manishearth/rust-clippy/statuses/f6349550bdbb05bb643c1a9af674484c128853bb"}}}}