{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/38277","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/38277/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/38277/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/38277/events","html_url":"https://github.com/rust-lang/rust/issues/38277","id":194743091,"number":38277,"title":"Vec::with_capacity(u64) panics when built","user":{"login":"JesperAxelsson","id":687960,"avatar_url":"https://avatars.githubusercontent.com/u/687960?v=3","gravatar_id":"","url":"https://api.github.com/users/JesperAxelsson","html_url":"https://github.com/JesperAxelsson","followers_url":"https://api.github.com/users/JesperAxelsson/followers","following_url":"https://api.github.com/users/JesperAxelsson/following{/other_user}","gists_url":"https://api.github.com/users/JesperAxelsson/gists{/gist_id}","starred_url":"https://api.github.com/users/JesperAxelsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JesperAxelsson/subscriptions","organizations_url":"https://api.github.com/users/JesperAxelsson/orgs","repos_url":"https://api.github.com/users/JesperAxelsson/repos","events_url":"https://api.github.com/users/JesperAxelsson/events{/privacy}","received_events_url":"https://api.github.com/users/JesperAxelsson/received_events","type":"User","site_admin":false},"labels":[{"id":9618520,"url":"https://api.github.com/repos/rust-lang/rust/labels/I-ICE","name":"I-ICE","color":"e10c02","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-10T04:03:31Z","updated_at":"2016-12-10T05:52:39Z","closed_at":null,"body":"Vec::with_capacity(u64) panics. \r\nError message: \r\n\r\n    rustc main.rs -v\r\n    error: internal compiler error: ../src/librustc_typeck\\check/mod.rs:4396: unexpected definition: PrimTy(TyUint(u64))\r\n    \r\n    note: the compiler unexpectedly panicked. this is a bug.\r\n    \r\n    note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports\r\n    \r\n    thread 'rustc' panicked at 'Box<Any>', ../src/librustc_errors/lib.rs:423\r\n    note: Run with `RUST_BACKTRACE=1` for a backtrace.\r\n\r\nMinimal program: \r\n`fn main() {\r\n    let vec = Vec::with_capacity(u64);\r\n}\r\n`"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/266181575","html_url":"https://github.com/rust-lang/rust/issues/38277#issuecomment-266181575","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/38277","id":266181575,"user":{"login":"Stebalien","id":310393,"avatar_url":"https://avatars.githubusercontent.com/u/310393?v=3","gravatar_id":"","url":"https://api.github.com/users/Stebalien","html_url":"https://github.com/Stebalien","followers_url":"https://api.github.com/users/Stebalien/followers","following_url":"https://api.github.com/users/Stebalien/following{/other_user}","gists_url":"https://api.github.com/users/Stebalien/gists{/gist_id}","starred_url":"https://api.github.com/users/Stebalien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stebalien/subscriptions","organizations_url":"https://api.github.com/users/Stebalien/orgs","repos_url":"https://api.github.com/users/Stebalien/repos","events_url":"https://api.github.com/users/Stebalien/events{/privacy}","received_events_url":"https://api.github.com/users/Stebalien/received_events","type":"User","site_admin":false},"created_at":"2016-12-10T05:52:39Z","updated_at":"2016-12-10T05:52:39Z","body":"Duplicate of  #38155 and #38188, fixed in #38154. /cc @petrochenkov"}}
{"actor":{"display_login":"Stebalien"}}