{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/25171","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/25171/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/25171/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/25171/events","html_url":"https://github.com/rust-lang/rust/pull/25171","id":73893289,"number":25171,"title":"Fix use of explicit UFCS syntax to call methods on associated types.","user":{"login":"quantheory","id":1740206,"avatar_url":"https://avatars.githubusercontent.com/u/1740206?v=3","gravatar_id":"","url":"https://api.github.com/users/quantheory","html_url":"https://github.com/quantheory","followers_url":"https://api.github.com/users/quantheory/followers","following_url":"https://api.github.com/users/quantheory/following{/other_user}","gists_url":"https://api.github.com/users/quantheory/gists{/gist_id}","starred_url":"https://api.github.com/users/quantheory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quantheory/subscriptions","organizations_url":"https://api.github.com/users/quantheory/orgs","repos_url":"https://api.github.com/users/quantheory/repos","events_url":"https://api.github.com/users/quantheory/events{/privacy}","received_events_url":"https://api.github.com/users/quantheory/received_events","type":"User","site_admin":false},"labels":[],"state":"open","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":3,"created_at":"2015-05-07T08:21:49Z","updated_at":"2015-05-11T19:53:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/25171","html_url":"https://github.com/rust-lang/rust/pull/25171","diff_url":"https://github.com/rust-lang/rust/pull/25171.diff","patch_url":"https://github.com/rust-lang/rust/pull/25171.patch"},"body":"It is currently broken to use syntax such as `<T as Foo>::U::static_method()` where `<T as Foo>::U` is an associated type. I was able to fix this and simplify the parser a bit at the same time.\r\n\r\nThis also fixes the corresponding issue with associated types (#22139), but that's somewhat irrelevant because #22519 is still open, so this syntax still causes an error in type checking.\r\n\r\nSimilarly, although this fix applies to associated consts, #25046 forbids associated constants from using type parameters or `Self`, while #19559 means that associated types have to always have one of those two. Therefore, I think that you can't use an associated const from an associated type anyway."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/101030388","html_url":"https://github.com/rust-lang/rust/pull/25171#issuecomment-101030388","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/25171","id":101030388,"user":{"login":"quantheory","id":1740206,"avatar_url":"https://avatars.githubusercontent.com/u/1740206?v=3","gravatar_id":"","url":"https://api.github.com/users/quantheory","html_url":"https://github.com/quantheory","followers_url":"https://api.github.com/users/quantheory/followers","following_url":"https://api.github.com/users/quantheory/following{/other_user}","gists_url":"https://api.github.com/users/quantheory/gists{/gist_id}","starred_url":"https://api.github.com/users/quantheory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quantheory/subscriptions","organizations_url":"https://api.github.com/users/quantheory/orgs","repos_url":"https://api.github.com/users/quantheory/repos","events_url":"https://api.github.com/users/quantheory/events{/privacy}","received_events_url":"https://api.github.com/users/quantheory/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T19:53:32Z","updated_at":"2015-05-11T19:53:32Z","body":"It's maybe more relevant to you @nikomatsakis, and now you're back. I also put you on #25091."}}