{"action":"closed","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/28308","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/28308/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/28308/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/28308/events","html_url":"https://github.com/rust-lang/rust/issues/28308","id":105507505,"number":28308,"title":"ICE on assert!(\"test\")","user":{"login":"wesleywiser","id":831192,"avatar_url":"https://avatars.githubusercontent.com/u/831192?v=3","gravatar_id":"","url":"https://api.github.com/users/wesleywiser","html_url":"https://github.com/wesleywiser","followers_url":"https://api.github.com/users/wesleywiser/followers","following_url":"https://api.github.com/users/wesleywiser/following{/other_user}","gists_url":"https://api.github.com/users/wesleywiser/gists{/gist_id}","starred_url":"https://api.github.com/users/wesleywiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesleywiser/subscriptions","organizations_url":"https://api.github.com/users/wesleywiser/orgs","repos_url":"https://api.github.com/users/wesleywiser/repos","events_url":"https://api.github.com/users/wesleywiser/events{/privacy}","received_events_url":"https://api.github.com/users/wesleywiser/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/I-ICE","name":"I-ICE","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-09T02:47:04Z","updated_at":"2016-01-27T16:12:06Z","closed_at":"2016-01-27T16:12:06Z","body":"While playing around on the playground, I found that this reports an ICE:\r\n\r\n```rust\r\nfn main() {\r\n    assert!(\"test\");\r\n}\r\n```\r\n\r\n```\r\n<std macros>:2:4: 2:19 error: cannot apply unary operator `!` to type `&'static str`\r\n(internal compiler error: unprintable span)\r\n<std macros>:1:1: 5:46 note: in expansion of assert!\r\n<anon>:2:5: 2:21 note: expansion site\r\nerror: aborting due to previous error\r\nplaypen: application terminated with error code 101\r\n```\r\n\r\nThis repros on stable, beta, and nightly"}}