{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/19632","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/19632/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/19632/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/19632/events","html_url":"https://github.com/rust-lang/rust/issues/19632","id":51240549,"number":19632,"title":"Traits with associated types break in struct bounds","user":{"login":"sfackler","id":1455697,"avatar_url":"https://avatars.githubusercontent.com/u/1455697?v=3","gravatar_id":"","url":"https://api.github.com/users/sfackler","html_url":"https://github.com/sfackler","followers_url":"https://api.github.com/users/sfackler/followers","following_url":"https://api.github.com/users/sfackler/following{/other_user}","gists_url":"https://api.github.com/users/sfackler/gists{/gist_id}","starred_url":"https://api.github.com/users/sfackler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfackler/subscriptions","organizations_url":"https://api.github.com/users/sfackler/orgs","repos_url":"https://api.github.com/users/sfackler/repos","events_url":"https://api.github.com/users/sfackler/events{/privacy}","received_events_url":"https://api.github.com/users/sfackler/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/A-associated-items","name":"A-associated-items","color":"d7e102"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-12-08T01:33:20Z","updated_at":"2015-01-01T05:40:56Z","closed_at":null,"body":"```rust\r\n#![feature(associated_types)]\r\n\r\ntrait PoolManager {\r\n    type C;\r\n}\r\n\r\nstruct InnerPool<M: PoolManager> {\r\n    manager: M,\r\n}\r\n\r\nfn main() {}\r\n```\r\n```\r\ntest.rs:7:21: 7:32 error: no suitable bound on `<generic #0>`\r\ntest.rs:7 struct InnerPool<M: PoolManager> {\r\n                              ^~~~~~~~~~~\r\nerror: aborting due to previous error\r\n```"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/68480803","html_url":"https://github.com/rust-lang/rust/issues/19632#issuecomment-68480803","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/19632","id":68480803,"user":{"login":"sfackler","id":1455697,"avatar_url":"https://avatars.githubusercontent.com/u/1455697?v=3","gravatar_id":"","url":"https://api.github.com/users/sfackler","html_url":"https://github.com/sfackler","followers_url":"https://api.github.com/users/sfackler/followers","following_url":"https://api.github.com/users/sfackler/following{/other_user}","gists_url":"https://api.github.com/users/sfackler/gists{/gist_id}","starred_url":"https://api.github.com/users/sfackler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfackler/subscriptions","organizations_url":"https://api.github.com/users/sfackler/orgs","repos_url":"https://api.github.com/users/sfackler/repos","events_url":"https://api.github.com/users/sfackler/events{/privacy}","received_events_url":"https://api.github.com/users/sfackler/received_events","type":"User","site_admin":false},"created_at":"2015-01-01T05:40:56Z","updated_at":"2015-01-01T05:40:56Z","body":"This appears to be fixed now."}}