{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/1653","repository_url":"https://api.github.com/repos/rust-lang/rfcs","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1653/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1653/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1653/events","html_url":"https://github.com/rust-lang/rfcs/pull/1653","id":160863099,"number":1653,"title":"propose assert_ne","user":{"login":"ashleygwilliams","id":1163554,"avatar_url":"https://avatars.githubusercontent.com/u/1163554?v=3","gravatar_id":"","url":"https://api.github.com/users/ashleygwilliams","html_url":"https://github.com/ashleygwilliams","followers_url":"https://api.github.com/users/ashleygwilliams/followers","following_url":"https://api.github.com/users/ashleygwilliams/following{/other_user}","gists_url":"https://api.github.com/users/ashleygwilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/ashleygwilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashleygwilliams/subscriptions","organizations_url":"https://api.github.com/users/ashleygwilliams/orgs","repos_url":"https://api.github.com/users/ashleygwilliams/repos","events_url":"https://api.github.com/users/ashleygwilliams/events{/privacy}","received_events_url":"https://api.github.com/users/ashleygwilliams/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rfcs/labels/final-comment-period","name":"final-comment-period","color":"207de5"},{"url":"https://api.github.com/repos/rust-lang/rfcs/labels/T-libs","name":"T-libs","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":36,"created_at":"2016-06-17T10:56:58Z","updated_at":"2016-07-19T12:31:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/1653","html_url":"https://github.com/rust-lang/rfcs/pull/1653","diff_url":"https://github.com/rust-lang/rfcs/pull/1653.diff","patch_url":"https://github.com/rust-lang/rfcs/pull/1653.patch"},"body":"this is an rfc to add a `assert_ne` macro to compliment `assert_eq`. it exists as a crate: https://crates.io/crates/assert_ne. "},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/233617256","html_url":"https://github.com/rust-lang/rfcs/pull/1653#issuecomment-233617256","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1653","id":233617256,"user":{"login":"pnkfelix","id":173127,"avatar_url":"https://avatars.githubusercontent.com/u/173127?v=3","gravatar_id":"","url":"https://api.github.com/users/pnkfelix","html_url":"https://github.com/pnkfelix","followers_url":"https://api.github.com/users/pnkfelix/followers","following_url":"https://api.github.com/users/pnkfelix/following{/other_user}","gists_url":"https://api.github.com/users/pnkfelix/gists{/gist_id}","starred_url":"https://api.github.com/users/pnkfelix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnkfelix/subscriptions","organizations_url":"https://api.github.com/users/pnkfelix/orgs","repos_url":"https://api.github.com/users/pnkfelix/repos","events_url":"https://api.github.com/users/pnkfelix/events{/privacy}","received_events_url":"https://api.github.com/users/pnkfelix/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T12:31:00Z","updated_at":"2016-07-19T12:31:00Z","body":"@tbu I'm not sure your grepping for various occurrences of assert actually proves anything about the actual utility of a specialized macro here.\r\n\r\nIn particular, if I want the error message on a failure to actually include descriptions of the values that were not equal, I cannot use `assert` in *any* form. I have to resort instead to something like\r\n```rust\r\nif (x != y) { panic!(\"Oops x != y for x: {:?} y: {:?}\", x, y); }\r\n```\r\n\r\nYour data does not tell me how many times the above pattern occurs. (I certainly understand the difficulty in actually *gathering* such data; I am not trying to suggest that you attempt to gather it. I just want to warn against false inferences.)"}}
{"actor":{"display_login":"pnkfelix"}}