{"action":"closed","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/26115","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/26115/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/26115/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/26115/events","html_url":"https://github.com/rust-lang/rust/issues/26115","id":86358838,"number":26115,"title":"example demonstrating that subtrait methods can refer to supertrait methods","user":{"login":"tshepang","id":588486,"avatar_url":"https://avatars.githubusercontent.com/u/588486?v=3","gravatar_id":"","url":"https://api.github.com/users/tshepang","html_url":"https://github.com/tshepang","followers_url":"https://api.github.com/users/tshepang/followers","following_url":"https://api.github.com/users/tshepang/following{/other_user}","gists_url":"https://api.github.com/users/tshepang/gists{/gist_id}","starred_url":"https://api.github.com/users/tshepang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tshepang/subscriptions","organizations_url":"https://api.github.com/users/tshepang/orgs","repos_url":"https://api.github.com/users/tshepang/repos","events_url":"https://api.github.com/users/tshepang/events{/privacy}","received_events_url":"https://api.github.com/users/tshepang/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/A-docs","name":"A-docs","color":"d7e102"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-08T22:40:53Z","updated_at":"2015-08-06T08:44:21Z","closed_at":"2015-08-06T08:44:21Z","body":"It would be nice to have an example for the following sentence ([source]):\r\n\r\n> In an implementation of Circle for a given type T, methods can refer to Shape methods, since the typechecker checks that any type with an implementation of Circle also has an implementation of Shape.\r\n\r\n\r\n[source]: https://doc.rust-lang.org/reference.html#traits"}}