{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/24392","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/24392/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/24392/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/24392/events","html_url":"https://github.com/rust-lang/rust/pull/24392","id":68204887,"number":24392,"title":"Add lint to deny transmuting &T to &mut T","user":{"login":"seanmonstar","id":51479,"avatar_url":"https://avatars.githubusercontent.com/u/51479?v=3","gravatar_id":"","url":"https://api.github.com/users/seanmonstar","html_url":"https://github.com/seanmonstar","followers_url":"https://api.github.com/users/seanmonstar/followers","following_url":"https://api.github.com/users/seanmonstar/following{/other_user}","gists_url":"https://api.github.com/users/seanmonstar/gists{/gist_id}","starred_url":"https://api.github.com/users/seanmonstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanmonstar/subscriptions","organizations_url":"https://api.github.com/users/seanmonstar/orgs","repos_url":"https://api.github.com/users/seanmonstar/repos","events_url":"https://api.github.com/users/seanmonstar/events{/privacy}","received_events_url":"https://api.github.com/users/seanmonstar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/beta-accepted","name":"beta-accepted","color":"207de5"},{"url":"https://api.github.com/repos/rust-lang/rust/labels/beta-nominated","name":"beta-nominated","color":"207de5"}],"state":"open","locked":false,"assignee":{"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},"milestone":null,"comments":15,"created_at":"2015-04-13T22:05:48Z","updated_at":"2015-04-25T09:00:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/24392","html_url":"https://github.com/rust-lang/rust/pull/24392","diff_url":"https://github.com/rust-lang/rust/pull/24392.diff","patch_url":"https://github.com/rust-lang/rust/pull/24392.patch"},"body":"The [UnsafeCell documentation says it is undefined behavior](http://doc.rust-lang.org/nightly/std/cell/struct.UnsafeCell.html), so people shouldn't do it.\r\n\r\nThis happened to catch one case in libstd that was doing this, and I switched that to use an UnsafeCell internally.\r\n\r\nCloses #13146 "},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/96162122","html_url":"https://github.com/rust-lang/rust/pull/24392#issuecomment-96162122","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/24392","id":96162122,"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},"created_at":"2015-04-25T09:00:42Z","updated_at":"2015-04-25T09:00:42Z","body":"I'm open to warn by default"}}