{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/bholley/atomic_refcell/pulls/6","id":335540449,"node_id":"MDExOlB1bGxSZXF1ZXN0MzM1NTQwNDQ5","html_url":"https://github.com/bholley/atomic_refcell/pull/6","diff_url":"https://github.com/bholley/atomic_refcell/pull/6.diff","patch_url":"https://github.com/bholley/atomic_refcell/pull/6.patch","issue_url":"https://api.github.com/repos/bholley/atomic_refcell/issues/6","number":6,"state":"open","locked":false,"title":"Avoid UB on invalid borrows","user":{"login":"vorner","id":11783500,"node_id":"MDQ6VXNlcjExNzgzNTAw","avatar_url":"https://avatars2.githubusercontent.com/u/11783500?v=4","gravatar_id":"","url":"https://api.github.com/users/vorner","html_url":"https://github.com/vorner","followers_url":"https://api.github.com/users/vorner/followers","following_url":"https://api.github.com/users/vorner/following{/other_user}","gists_url":"https://api.github.com/users/vorner/gists{/gist_id}","starred_url":"https://api.github.com/users/vorner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vorner/subscriptions","organizations_url":"https://api.github.com/users/vorner/orgs","repos_url":"https://api.github.com/users/vorner/repos","events_url":"https://api.github.com/users/vorner/events{/privacy}","received_events_url":"https://api.github.com/users/vorner/received_events","type":"User","site_admin":false},"body":"As the mere existence of aliasing mutable references, not their use\r\nis/may be (the aliasing model is not fully defined yet) an UB, make sure\r\nthe references are created only after the check for validity is done and\r\nany illegal situations are prevented by a panic.\r\n\r\nIt's unlikely the compiler is able to take advantage of in practice,\r\nthough.","created_at":"2019-11-01T17:48:33Z","updated_at":"2019-11-01T17:48:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bholley/atomic_refcell/pulls/6/commits","review_comments_url":"https://api.github.com/repos/bholley/atomic_refcell/pulls/6/comments","review_comment_url":"https://api.github.com/repos/bholley/atomic_refcell/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bholley/atomic_refcell/issues/6/comments","statuses_url":"https://api.github.com/repos/bholley/atomic_refcell/statuses/f47c753059d4350fa71c0e87ed14e99c4db5a3f2","head":{"label":"vorner:theoretical-ub","ref":"theoretical-ub","sha":"f47c753059d4350fa71c0e87ed14e99c4db5a3f2","user":{"login":"vorner","id":11783500,"node_id":"MDQ6VXNlcjExNzgzNTAw","avatar_url":"https://avatars2.githubusercontent.com/u/11783500?v=4","gravatar_id":"","url":"https://api.github.com/users/vorner","html_url":"https://github.com/vorner","followers_url":"https://api.github.com/users/vorner/followers","following_url":"https://api.github.com/users/vorner/following{/other_user}","gists_url":"https://api.github.com/users/vorner/gists{/gist_id}","starred_url":"https://api.github.com/users/vorner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vorner/subscriptions","organizations_url":"https://api.github.com/users/vorner/orgs","repos_url":"https://api.github.com/users/vorner/repos","events_url":"https://api.github.com/users/vorner/events{/privacy}","received_events_url":"https://api.github.com/users/vorner/received_events","type":"User","site_admin":false},"repo":{"id":218984107,"node_id":"MDEwOlJlcG9zaXRvcnkyMTg5ODQxMDc=","name":"atomic_refcell","full_name":"vorner/atomic_refcell","private":false,"owner":{"login":"vorner","id":11783500,"node_id":"MDQ6VXNlcjExNzgzNTAw","avatar_url":"https://avatars2.githubusercontent.com/u/11783500?v=4","gravatar_id":"","url":"https://api.github.com/users/vorner","html_url":"https://github.com/vorner","followers_url":"https://api.github.com/users/vorner/followers","following_url":"https://api.github.com/users/vorner/following{/other_user}","gists_url":"https://api.github.com/users/vorner/gists{/gist_id}","starred_url":"https://api.github.com/users/vorner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vorner/subscriptions","organizations_url":"https://api.github.com/users/vorner/orgs","repos_url":"https://api.github.com/users/vorner/repos","events_url":"https://api.github.com/users/vorner/events{/privacy}","received_events_url":"https://api.github.com/users/vorner/received_events","type":"User","site_admin":false},"html_url":"https://github.com/vorner/atomic_refcell","description":"Threadsafe RefCell for Rust","fork":true,"url":"https://api.github.com/repos/vorner/atomic_refcell","forks_url":"https://api.github.com/repos/vorner/atomic_refcell/forks","keys_url":"https://api.github.com/repos/vorner/atomic_refcell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vorner/atomic_refcell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vorner/atomic_refcell/teams","hooks_url":"https://api.github.com/repos/vorner/atomic_refcell/hooks","issue_events_url":"https://api.github.com/repos/vorner/atomic_refcell/issues/events{/number}","events_url":"https://api.github.com/repos/vorner/atomic_refcell/events","assignees_url":"https://api.github.com/repos/vorner/atomic_refcell/assignees{/user}","branches_url":"https://api.github.com/repos/vorner/atomic_refcell/branches{/branch}","tags_url":"https://api.github.com/repos/vorner/atomic_refcell/tags","blobs_url":"https://api.github.com/repos/vorner/atomic_refcell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vorner/atomic_refcell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vorner/atomic_refcell/git/refs{/sha}","trees_url":"https://api.github.com/repos/vorner/atomic_refcell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vorner/atomic_refcell/statuses/{sha}","languages_url":"https://api.github.com/repos/vorner/atomic_refcell/languages","stargazers_url":"https://api.github.com/repos/vorner/atomic_refcell/stargazers","contributors_url":"https://api.github.com/repos/vorner/atomic_refcell/contributors","subscribers_url":"https://api.github.com/repos/vorner/atomic_refcell/subscribers","subscription_url":"https://api.github.com/repos/vorner/atomic_refcell/subscription","commits_url":"https://api.github.com/repos/vorner/atomic_refcell/commits{/sha}","git_commits_url":"https://api.github.com/repos/vorner/atomic_refcell/git/commits{/sha}","comments_url":"https://api.github.com/repos/vorner/atomic_refcell/comments{/number}","issue_comment_url":"https://api.github.com/repos/vorner/atomic_refcell/issues/comments{/number}","contents_url":"https://api.github.com/repos/vorner/atomic_refcell/contents/{+path}","compare_url":"https://api.github.com/repos/vorner/atomic_refcell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vorner/atomic_refcell/merges","archive_url":"https://api.github.com/repos/vorner/atomic_refcell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vorner/atomic_refcell/downloads","issues_url":"https://api.github.com/repos/vorner/atomic_refcell/issues{/number}","pulls_url":"https://api.github.com/repos/vorner/atomic_refcell/pulls{/number}","milestones_url":"https://api.github.com/repos/vorner/atomic_refcell/milestones{/number}","notifications_url":"https://api.github.com/repos/vorner/atomic_refcell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vorner/atomic_refcell/labels{/name}","releases_url":"https://api.github.com/repos/vorner/atomic_refcell/releases{/id}","deployments_url":"https://api.github.com/repos/vorner/atomic_refcell/deployments","created_at":"2019-11-01T12:47:39Z","updated_at":"2019-11-01T12:47:41Z","pushed_at":"2019-11-01T17:47:22Z","git_url":"git://github.com/vorner/atomic_refcell.git","ssh_url":"git@github.com:vorner/atomic_refcell.git","clone_url":"https://github.com/vorner/atomic_refcell.git","svn_url":"https://github.com/vorner/atomic_refcell","homepage":null,"size":10,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bholley:master","ref":"master","sha":"79f9f1dc1e85ff45de62286441352a5924a218c6","user":{"login":"bholley","id":377435,"node_id":"MDQ6VXNlcjM3NzQzNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/377435?v=4","gravatar_id":"","url":"https://api.github.com/users/bholley","html_url":"https://github.com/bholley","followers_url":"https://api.github.com/users/bholley/followers","following_url":"https://api.github.com/users/bholley/following{/other_user}","gists_url":"https://api.github.com/users/bholley/gists{/gist_id}","starred_url":"https://api.github.com/users/bholley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bholley/subscriptions","organizations_url":"https://api.github.com/users/bholley/orgs","repos_url":"https://api.github.com/users/bholley/repos","events_url":"https://api.github.com/users/bholley/events{/privacy}","received_events_url":"https://api.github.com/users/bholley/received_events","type":"User","site_admin":false},"repo":{"id":77956507,"node_id":"MDEwOlJlcG9zaXRvcnk3Nzk1NjUwNw==","name":"atomic_refcell","full_name":"bholley/atomic_refcell","private":false,"owner":{"login":"bholley","id":377435,"node_id":"MDQ6VXNlcjM3NzQzNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/377435?v=4","gravatar_id":"","url":"https://api.github.com/users/bholley","html_url":"https://github.com/bholley","followers_url":"https://api.github.com/users/bholley/followers","following_url":"https://api.github.com/users/bholley/following{/other_user}","gists_url":"https://api.github.com/users/bholley/gists{/gist_id}","starred_url":"https://api.github.com/users/bholley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bholley/subscriptions","organizations_url":"https://api.github.com/users/bholley/orgs","repos_url":"https://api.github.com/users/bholley/repos","events_url":"https://api.github.com/users/bholley/events{/privacy}","received_events_url":"https://api.github.com/users/bholley/received_events","type":"User","site_admin":false},"html_url":"https://github.com/bholley/atomic_refcell","description":"Threadsafe RefCell for Rust","fork":false,"url":"https://api.github.com/repos/bholley/atomic_refcell","forks_url":"https://api.github.com/repos/bholley/atomic_refcell/forks","keys_url":"https://api.github.com/repos/bholley/atomic_refcell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bholley/atomic_refcell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bholley/atomic_refcell/teams","hooks_url":"https://api.github.com/repos/bholley/atomic_refcell/hooks","issue_events_url":"https://api.github.com/repos/bholley/atomic_refcell/issues/events{/number}","events_url":"https://api.github.com/repos/bholley/atomic_refcell/events","assignees_url":"https://api.github.com/repos/bholley/atomic_refcell/assignees{/user}","branches_url":"https://api.github.com/repos/bholley/atomic_refcell/branches{/branch}","tags_url":"https://api.github.com/repos/bholley/atomic_refcell/tags","blobs_url":"https://api.github.com/repos/bholley/atomic_refcell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bholley/atomic_refcell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bholley/atomic_refcell/git/refs{/sha}","trees_url":"https://api.github.com/repos/bholley/atomic_refcell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bholley/atomic_refcell/statuses/{sha}","languages_url":"https://api.github.com/repos/bholley/atomic_refcell/languages","stargazers_url":"https://api.github.com/repos/bholley/atomic_refcell/stargazers","contributors_url":"https://api.github.com/repos/bholley/atomic_refcell/contributors","subscribers_url":"https://api.github.com/repos/bholley/atomic_refcell/subscribers","subscription_url":"https://api.github.com/repos/bholley/atomic_refcell/subscription","commits_url":"https://api.github.com/repos/bholley/atomic_refcell/commits{/sha}","git_commits_url":"https://api.github.com/repos/bholley/atomic_refcell/git/commits{/sha}","comments_url":"https://api.github.com/repos/bholley/atomic_refcell/comments{/number}","issue_comment_url":"https://api.github.com/repos/bholley/atomic_refcell/issues/comments{/number}","contents_url":"https://api.github.com/repos/bholley/atomic_refcell/contents/{+path}","compare_url":"https://api.github.com/repos/bholley/atomic_refcell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bholley/atomic_refcell/merges","archive_url":"https://api.github.com/repos/bholley/atomic_refcell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bholley/atomic_refcell/downloads","issues_url":"https://api.github.com/repos/bholley/atomic_refcell/issues{/number}","pulls_url":"https://api.github.com/repos/bholley/atomic_refcell/pulls{/number}","milestones_url":"https://api.github.com/repos/bholley/atomic_refcell/milestones{/number}","notifications_url":"https://api.github.com/repos/bholley/atomic_refcell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bholley/atomic_refcell/labels{/name}","releases_url":"https://api.github.com/repos/bholley/atomic_refcell/releases{/id}","deployments_url":"https://api.github.com/repos/bholley/atomic_refcell/deployments","created_at":"2017-01-03T21:51:19Z","updated_at":"2019-11-01T12:51:12Z","pushed_at":"2019-09-17T16:55:44Z","git_url":"git://github.com/bholley/atomic_refcell.git","ssh_url":"git@github.com:bholley/atomic_refcell.git","clone_url":"https://github.com/bholley/atomic_refcell.git","svn_url":"https://github.com/bholley/atomic_refcell","homepage":null,"size":10,"stargazers_count":12,"watchers_count":12,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":null,"forks":5,"open_issues":1,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bholley/atomic_refcell/pulls/6"},"html":{"href":"https://github.com/bholley/atomic_refcell/pull/6"},"issue":{"href":"https://api.github.com/repos/bholley/atomic_refcell/issues/6"},"comments":{"href":"https://api.github.com/repos/bholley/atomic_refcell/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/bholley/atomic_refcell/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/bholley/atomic_refcell/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bholley/atomic_refcell/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/bholley/atomic_refcell/statuses/f47c753059d4350fa71c0e87ed14e99c4db5a3f2"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":8,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"vorner"}}