{"action":"created","comment":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/comments/62281889","id":62281889,"diff_hunk":"@@ -26,6 +26,27 @@ name. Example:\n ```\n \"##,\n \n+E0455: r##\"\n+A framework link kind was used and the OS used to compile isn't the OS X\n+cause native frameworks are only available on OS X targets.\n+Erroneous code example:\n+\n+```compile_fail\"\n+#[link(name = \"FooCoreServices\",  kind = \"framework\")] extern {}\n+// OS used to compile is Linux for example\n+```\n+\n+When using 'framework' link kind, please ensure to use OSX to compile the code.\n+Or you can use the Conditional Compilation:\n+\n+```\n+#[cfg(target_os=\"macos\")]","path":"src/librustc_metadata/diagnostics.rs","position":18,"original_position":18,"commit_id":"e0f8733be54e3077b780fa944e1480133fa926b5","original_commit_id":"e0f8733be54e3077b780fa944e1480133fa926b5","user":{"login":"cristianoliveira","id":3959744,"avatar_url":"https://avatars.githubusercontent.com/u/3959744?v=3","gravatar_id":"","url":"https://api.github.com/users/cristianoliveira","html_url":"https://github.com/cristianoliveira","followers_url":"https://api.github.com/users/cristianoliveira/followers","following_url":"https://api.github.com/users/cristianoliveira/following{/other_user}","gists_url":"https://api.github.com/users/cristianoliveira/gists{/gist_id}","starred_url":"https://api.github.com/users/cristianoliveira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristianoliveira/subscriptions","organizations_url":"https://api.github.com/users/cristianoliveira/orgs","repos_url":"https://api.github.com/users/cristianoliveira/repos","events_url":"https://api.github.com/users/cristianoliveira/events{/privacy}","received_events_url":"https://api.github.com/users/cristianoliveira/received_events","type":"User","site_admin":false},"body":"No worries. I didn't notice that as well :/ \r\nI will change the example ","created_at":"2016-05-06T02:14:56Z","updated_at":"2016-05-06T02:14:56Z","html_url":"https://github.com/rust-lang/rust/pull/33393#discussion_r62281889","pull_request_url":"https://api.github.com/repos/rust-lang/rust/pulls/33393","_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/comments/62281889"},"html":{"href":"https://github.com/rust-lang/rust/pull/33393#discussion_r62281889"},"pull_request":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/33393"}}},"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/33393","id":68808565,"html_url":"https://github.com/rust-lang/rust/pull/33393","diff_url":"https://github.com/rust-lang/rust/pull/33393.diff","patch_url":"https://github.com/rust-lang/rust/pull/33393.patch","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/33393","number":33393,"state":"open","locked":false,"title":"Add error description for E0455","user":{"login":"cristianoliveira","id":3959744,"avatar_url":"https://avatars.githubusercontent.com/u/3959744?v=3","gravatar_id":"","url":"https://api.github.com/users/cristianoliveira","html_url":"https://github.com/cristianoliveira","followers_url":"https://api.github.com/users/cristianoliveira/followers","following_url":"https://api.github.com/users/cristianoliveira/following{/other_user}","gists_url":"https://api.github.com/users/cristianoliveira/gists{/gist_id}","starred_url":"https://api.github.com/users/cristianoliveira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristianoliveira/subscriptions","organizations_url":"https://api.github.com/users/cristianoliveira/orgs","repos_url":"https://api.github.com/users/cristianoliveira/repos","events_url":"https://api.github.com/users/cristianoliveira/events{/privacy}","received_events_url":"https://api.github.com/users/cristianoliveira/received_events","type":"User","site_admin":false},"body":"r? @GuillaumeGomez. \r\n\r\nAbout this error there is no much thing to explain. The short description says enough to understand. Feel free to review.","created_at":"2016-05-04T04:02:56Z","updated_at":"2016-05-06T02:14:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2f22a6ea4008b0c7870e2dd1d324ec78780b13b8","assignee":{"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},"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang/rust/pulls/33393/commits","review_comments_url":"https://api.github.com/repos/rust-lang/rust/pulls/33393/comments","review_comment_url":"https://api.github.com/repos/rust-lang/rust/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/33393/comments","statuses_url":"https://api.github.com/repos/rust-lang/rust/statuses/e0f8733be54e3077b780fa944e1480133fa926b5","head":{"label":"cristianoliveira:docs-error-explanation","ref":"docs-error-explanation","sha":"e0f8733be54e3077b780fa944e1480133fa926b5","user":{"login":"cristianoliveira","id":3959744,"avatar_url":"https://avatars.githubusercontent.com/u/3959744?v=3","gravatar_id":"","url":"https://api.github.com/users/cristianoliveira","html_url":"https://github.com/cristianoliveira","followers_url":"https://api.github.com/users/cristianoliveira/followers","following_url":"https://api.github.com/users/cristianoliveira/following{/other_user}","gists_url":"https://api.github.com/users/cristianoliveira/gists{/gist_id}","starred_url":"https://api.github.com/users/cristianoliveira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristianoliveira/subscriptions","organizations_url":"https://api.github.com/users/cristianoliveira/orgs","repos_url":"https://api.github.com/users/cristianoliveira/repos","events_url":"https://api.github.com/users/cristianoliveira/events{/privacy}","received_events_url":"https://api.github.com/users/cristianoliveira/received_events","type":"User","site_admin":false},"repo":{"id":58020763,"name":"rust","full_name":"cristianoliveira/rust","owner":{"login":"cristianoliveira","id":3959744,"avatar_url":"https://avatars.githubusercontent.com/u/3959744?v=3","gravatar_id":"","url":"https://api.github.com/users/cristianoliveira","html_url":"https://github.com/cristianoliveira","followers_url":"https://api.github.com/users/cristianoliveira/followers","following_url":"https://api.github.com/users/cristianoliveira/following{/other_user}","gists_url":"https://api.github.com/users/cristianoliveira/gists{/gist_id}","starred_url":"https://api.github.com/users/cristianoliveira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristianoliveira/subscriptions","organizations_url":"https://api.github.com/users/cristianoliveira/orgs","repos_url":"https://api.github.com/users/cristianoliveira/repos","events_url":"https://api.github.com/users/cristianoliveira/events{/privacy}","received_events_url":"https://api.github.com/users/cristianoliveira/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cristianoliveira/rust","description":"A safe, concurrent, practical language.","fork":true,"url":"https://api.github.com/repos/cristianoliveira/rust","forks_url":"https://api.github.com/repos/cristianoliveira/rust/forks","keys_url":"https://api.github.com/repos/cristianoliveira/rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cristianoliveira/rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cristianoliveira/rust/teams","hooks_url":"https://api.github.com/repos/cristianoliveira/rust/hooks","issue_events_url":"https://api.github.com/repos/cristianoliveira/rust/issues/events{/number}","events_url":"https://api.github.com/repos/cristianoliveira/rust/events","assignees_url":"https://api.github.com/repos/cristianoliveira/rust/assignees{/user}","branches_url":"https://api.github.com/repos/cristianoliveira/rust/branches{/branch}","tags_url":"https://api.github.com/repos/cristianoliveira/rust/tags","blobs_url":"https://api.github.com/repos/cristianoliveira/rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cristianoliveira/rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cristianoliveira/rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/cristianoliveira/rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cristianoliveira/rust/statuses/{sha}","languages_url":"https://api.github.com/repos/cristianoliveira/rust/languages","stargazers_url":"https://api.github.com/repos/cristianoliveira/rust/stargazers","contributors_url":"https://api.github.com/repos/cristianoliveira/rust/contributors","subscribers_url":"https://api.github.com/repos/cristianoliveira/rust/subscribers","subscription_url":"https://api.github.com/repos/cristianoliveira/rust/subscription","commits_url":"https://api.github.com/repos/cristianoliveira/rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/cristianoliveira/rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/cristianoliveira/rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/cristianoliveira/rust/issues/comments{/number}","contents_url":"https://api.github.com/repos/cristianoliveira/rust/contents/{+path}","compare_url":"https://api.github.com/repos/cristianoliveira/rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cristianoliveira/rust/merges","archive_url":"https://api.github.com/repos/cristianoliveira/rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cristianoliveira/rust/downloads","issues_url":"https://api.github.com/repos/cristianoliveira/rust/issues{/number}","pulls_url":"https://api.github.com/repos/cristianoliveira/rust/pulls{/number}","milestones_url":"https://api.github.com/repos/cristianoliveira/rust/milestones{/number}","notifications_url":"https://api.github.com/repos/cristianoliveira/rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cristianoliveira/rust/labels{/name}","releases_url":"https://api.github.com/repos/cristianoliveira/rust/releases{/id}","deployments_url":"https://api.github.com/repos/cristianoliveira/rust/deployments","created_at":"2016-05-04T03:42:49Z","updated_at":"2016-05-04T03:43:06Z","pushed_at":"2016-05-06T01:41:06Z","git_url":"git://github.com/cristianoliveira/rust.git","ssh_url":"git@github.com:cristianoliveira/rust.git","clone_url":"https://github.com/cristianoliveira/rust.git","svn_url":"https://github.com/cristianoliveira/rust","homepage":"http://www.rust-lang.org","size":292187,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"rust-lang:master","ref":"master","sha":"77987ba89894997c174ac8b01185c0dc12913fa5","user":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars.githubusercontent.com/u/5430905?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":724712,"name":"rust","full_name":"rust-lang/rust","owner":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars.githubusercontent.com/u/5430905?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rust-lang/rust","description":"A safe, concurrent, practical language.","fork":false,"url":"https://api.github.com/repos/rust-lang/rust","forks_url":"https://api.github.com/repos/rust-lang/rust/forks","keys_url":"https://api.github.com/repos/rust-lang/rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rust-lang/rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rust-lang/rust/teams","hooks_url":"https://api.github.com/repos/rust-lang/rust/hooks","issue_events_url":"https://api.github.com/repos/rust-lang/rust/issues/events{/number}","events_url":"https://api.github.com/repos/rust-lang/rust/events","assignees_url":"https://api.github.com/repos/rust-lang/rust/assignees{/user}","branches_url":"https://api.github.com/repos/rust-lang/rust/branches{/branch}","tags_url":"https://api.github.com/repos/rust-lang/rust/tags","blobs_url":"https://api.github.com/repos/rust-lang/rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rust-lang/rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rust-lang/rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/rust-lang/rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rust-lang/rust/statuses/{sha}","languages_url":"https://api.github.com/repos/rust-lang/rust/languages","stargazers_url":"https://api.github.com/repos/rust-lang/rust/stargazers","contributors_url":"https://api.github.com/repos/rust-lang/rust/contributors","subscribers_url":"https://api.github.com/repos/rust-lang/rust/subscribers","subscription_url":"https://api.github.com/repos/rust-lang/rust/subscription","commits_url":"https://api.github.com/repos/rust-lang/rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/rust-lang/rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/rust-lang/rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/rust-lang/rust/issues/comments{/number}","contents_url":"https://api.github.com/repos/rust-lang/rust/contents/{+path}","compare_url":"https://api.github.com/repos/rust-lang/rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rust-lang/rust/merges","archive_url":"https://api.github.com/repos/rust-lang/rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rust-lang/rust/downloads","issues_url":"https://api.github.com/repos/rust-lang/rust/issues{/number}","pulls_url":"https://api.github.com/repos/rust-lang/rust/pulls{/number}","milestones_url":"https://api.github.com/repos/rust-lang/rust/milestones{/number}","notifications_url":"https://api.github.com/repos/rust-lang/rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rust-lang/rust/labels{/name}","releases_url":"https://api.github.com/repos/rust-lang/rust/releases{/id}","deployments_url":"https://api.github.com/repos/rust-lang/rust/deployments","created_at":"2010-06-16T20:39:03Z","updated_at":"2016-05-05T23:25:58Z","pushed_at":"2016-05-06T01:41:08Z","git_url":"git://github.com/rust-lang/rust.git","ssh_url":"git@github.com:rust-lang/rust.git","clone_url":"https://github.com/rust-lang/rust.git","svn_url":"https://github.com/rust-lang/rust","homepage":"http://www.rust-lang.org","size":490388,"stargazers_count":16558,"watchers_count":16558,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3162,"mirror_url":null,"open_issues_count":2530,"forks":3162,"open_issues":2530,"watchers":16558,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/33393"},"html":{"href":"https://github.com/rust-lang/rust/pull/33393"},"issue":{"href":"https://api.github.com/repos/rust-lang/rust/issues/33393"},"comments":{"href":"https://api.github.com/repos/rust-lang/rust/issues/33393/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/33393/comments"},"review_comment":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/33393/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang/rust/statuses/e0f8733be54e3077b780fa944e1480133fa926b5"}}}}