{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/660","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/660/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/660/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/660/events","html_url":"https://github.com/rust-lang/rfcs/issues/660","id":55066239,"number":660,"title":"Add a lint for shadowed names","user":{"login":"steveklabnik","id":27786,"avatar_url":"https://avatars.githubusercontent.com/u/27786?v=3","gravatar_id":"","url":"https://api.github.com/users/steveklabnik","html_url":"https://github.com/steveklabnik","followers_url":"https://api.github.com/users/steveklabnik/followers","following_url":"https://api.github.com/users/steveklabnik/following{/other_user}","gists_url":"https://api.github.com/users/steveklabnik/gists{/gist_id}","starred_url":"https://api.github.com/users/steveklabnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveklabnik/subscriptions","organizations_url":"https://api.github.com/users/steveklabnik/orgs","repos_url":"https://api.github.com/users/steveklabnik/repos","events_url":"https://api.github.com/users/steveklabnik/events{/privacy}","received_events_url":"https://api.github.com/users/steveklabnik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-21T19:36:17Z","updated_at":"2015-01-21T19:36:17Z","closed_at":null,"body":"<a href=\"https://github.com/cmr\"><img src=\"https://avatars.githubusercontent.com/u/704250?v=3\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [cmr](https://github.com/cmr)**\n_Monday Apr 07, 2014 at 04:42 GMT_\n\n_For earlier discussion, see https://github.com/rust-lang/rust/issues/13372_\n\n_This issue was labelled with: A-an-interesting-project, A-diagnostics, A-lint, A-resolve in the Rust repository_\n\n----\n\nOur shadowing behavior can be somewhat surprising, especially around method lookup. A lint (allow by default) for name shadows would be incredibly useful.\n"}}