{"action":"closed","issue":{"url":"https://api.github.com/repos/AngryLawyer/rust-sdl2/issues/249","labels_url":"https://api.github.com/repos/AngryLawyer/rust-sdl2/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/AngryLawyer/rust-sdl2/issues/249/comments","events_url":"https://api.github.com/repos/AngryLawyer/rust-sdl2/issues/249/events","html_url":"https://github.com/AngryLawyer/rust-sdl2/issues/249","id":53212230,"number":249,"title":"Change in latest nightly breaks type inference (phantom type?)","user":{"login":"cybergeek94","id":3198595,"avatar_url":"https://avatars.githubusercontent.com/u/3198595?v=3","gravatar_id":"","url":"https://api.github.com/users/cybergeek94","html_url":"https://github.com/cybergeek94","followers_url":"https://api.github.com/users/cybergeek94/followers","following_url":"https://api.github.com/users/cybergeek94/following{/other_user}","gists_url":"https://api.github.com/users/cybergeek94/gists{/gist_id}","starred_url":"https://api.github.com/users/cybergeek94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cybergeek94/subscriptions","organizations_url":"https://api.github.com/users/cybergeek94/orgs","repos_url":"https://api.github.com/users/cybergeek94/repos","events_url":"https://api.github.com/users/cybergeek94/events{/privacy}","received_events_url":"https://api.github.com/users/cybergeek94/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-01T03:35:12Z","updated_at":"2015-01-02T13:10:26Z","closed_at":"2015-01-02T13:10:26Z","body":"```\r\nsrc/sdl2/audio.rs:320:25: 320:62 error: unable to infer enough type information to locate the impl of the trait `audio::AudioFormatNum<T>` for the type `_`; type annotations required\r\nsrc/sdl2/audio.rs:320                 format: AudioFormatNum::<T>::get_audio_format(),\r\n                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nsrc/sdl2/audio.rs:320:25: 320:62 note: required by `audio::AudioFormatNum::get_audio_format`\r\nsrc/sdl2/audio.rs:320                 format: AudioFormatNum::<T>::get_audio_format(),\r\n                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n```\r\nI would have fixed this myself but it looks like it might need a change to the API to get the proper type information so I figured it merited some discussion first.\r\n"}}