{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/26487","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/26487/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/26487/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/26487/events","html_url":"https://github.com/rust-lang/rust/issues/26487","id":89979383,"number":26487,"title":"unused_variables lint shouldn't warn for unused parameter to default method in trait","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-lint","name":"A-lint","color":"d7e102"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-22T00:29:41Z","updated_at":"2015-06-24T00:51:32Z","closed_at":null,"body":"```rust\r\ntrait Foo {\r\n    fn bar(&self, a: i32) {}\r\n}\r\n\r\nfn main() {}\r\n```\r\n```\r\n<anon>:2:19: 2:20 warning: unused variable: `a`, #[warn(unused_variables)] on by default\r\n<anon>:2     fn bar(&self, a: i32) {}\r\n                           ^\r\n```\r\n\r\nThe arguments to default methods in traits form part of the documentation, but it is not uncommon for a default implementation of a method to be a no-op that uses none of its arguments."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/114684704","html_url":"https://github.com/rust-lang/rust/issues/26487#issuecomment-114684704","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/26487","id":114684704,"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},"created_at":"2015-06-24T00:51:32Z","updated_at":"2015-06-24T00:51:32Z","body":"I implemented this in #26502, but @brson doesn't seem to think it is a good idea. You may want to comment."}}