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:
parent
a0e3a2ae8e
commit
7bbdf296e0
1 changed files with 1 additions and 1 deletions
|
|
@ -479,7 +479,7 @@ fn check_item_non_camel_case_types(cx: ty::ctxt, it: @ast::item) {
|
|||
|
||||
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, _) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue