lint: Don't warn about non-camel case impl names

Impls are always named __extensions__ so this warning is bogus
This commit is contained in:
Brian Anderson 2012-08-08 22:21:47 -07:00
parent a0e3a2ae8e
commit 7bbdf296e0

View File

@ -479,7 +479,7 @@ fn check_case(cx: ty::ctxt, ident: ast::ident,
match it.node {
ast::item_ty(*) | ast::item_class(*) |
ast::item_trait(*) | ast::item_impl(*) => {
ast::item_trait(*) => {
check_case(cx, it.ident, it.id, it.id, it.span)
}
ast::item_enum(enum_definition, _) => {