{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/4704","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/4704/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/4704/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/4704/events","html_url":"https://github.com/rust-lang/rust/issues/4704","id":10492421,"number":4704,"title":"Possibly change the ordering of integer-literal inference and method selection.","user":{"login":"sanxiyn","id":45249,"avatar_url":"https://avatars.githubusercontent.com/u/45249?v=3","gravatar_id":"","url":"https://api.github.com/users/sanxiyn","html_url":"https://github.com/sanxiyn","followers_url":"https://api.github.com/users/sanxiyn/followers","following_url":"https://api.github.com/users/sanxiyn/following{/other_user}","gists_url":"https://api.github.com/users/sanxiyn/gists{/gist_id}","starred_url":"https://api.github.com/users/sanxiyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanxiyn/subscriptions","organizations_url":"https://api.github.com/users/sanxiyn/orgs","repos_url":"https://api.github.com/users/sanxiyn/repos","events_url":"https://api.github.com/users/sanxiyn/events{/privacy}","received_events_url":"https://api.github.com/users/sanxiyn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/A-typesystem","name":"A-typesystem","color":"d7e102"},{"url":"https://api.github.com/repos/rust-lang/rust/labels/I-papercut","name":"I-papercut","color":"e10c02"},{"url":"https://api.github.com/repos/rust-lang/rust/labels/P-backcompat-lang","name":"P-backcompat-lang","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"nikomatsakis","id":155238,"avatar_url":"https://avatars.githubusercontent.com/u/155238?v=3","gravatar_id":"","url":"https://api.github.com/users/nikomatsakis","html_url":"https://github.com/nikomatsakis","followers_url":"https://api.github.com/users/nikomatsakis/followers","following_url":"https://api.github.com/users/nikomatsakis/following{/other_user}","gists_url":"https://api.github.com/users/nikomatsakis/gists{/gist_id}","starred_url":"https://api.github.com/users/nikomatsakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikomatsakis/subscriptions","organizations_url":"https://api.github.com/users/nikomatsakis/orgs","repos_url":"https://api.github.com/users/nikomatsakis/repos","events_url":"https://api.github.com/users/nikomatsakis/events{/privacy}","received_events_url":"https://api.github.com/users/nikomatsakis/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2013-01-31T08:43:15Z","updated_at":"2015-01-02T21:38:19Z","closed_at":"2015-01-02T21:38:19Z","body":"```\r\nfn sub(i: int) { for i.times {} }\r\nfn main() {}\r\n```\r\n\r\n```\r\ntest.rs:1:17: 1:31 error: type `int` does not implement any method in scope named `times`\r\ntest.rs:1 fn sub(i: int) { for i.times {} }\r\n                           ^~~~~~~~~~~~~~\r\nerror: aborting due to previous error\r\n```\r\n\r\nThis works in master(2372d2c) but is broken in incoming(42b462e)."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/68564792","html_url":"https://github.com/rust-lang/rust/issues/4704#issuecomment-68564792","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/4704","id":68564792,"user":{"login":"nikomatsakis","id":155238,"avatar_url":"https://avatars.githubusercontent.com/u/155238?v=3","gravatar_id":"","url":"https://api.github.com/users/nikomatsakis","html_url":"https://github.com/nikomatsakis","followers_url":"https://api.github.com/users/nikomatsakis/followers","following_url":"https://api.github.com/users/nikomatsakis/following{/other_user}","gists_url":"https://api.github.com/users/nikomatsakis/gists{/gist_id}","starred_url":"https://api.github.com/users/nikomatsakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikomatsakis/subscriptions","organizations_url":"https://api.github.com/users/nikomatsakis/orgs","repos_url":"https://api.github.com/users/nikomatsakis/repos","events_url":"https://api.github.com/users/nikomatsakis/events{/privacy}","received_events_url":"https://api.github.com/users/nikomatsakis/received_events","type":"User","site_admin":false},"created_at":"2015-01-02T21:38:19Z","updated_at":"2015-01-02T21:38:19Z","body":"Fallback is back, but it happens late in the cycle, and hence you still need explicit annotation if you plan on invoking methods. This is how the RFC was written and it was no accident, I think we have no plans to change this. Closing bug."}}