diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-08-08 22:21:47 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-08-08 22:21:47 -0700 |
| commit | 7bbdf296e0a235fcd262615ffefb20e64a7ec48e (patch) | |
| tree | 2369b0b2ffdc4ed80e846aae8b32dad5b045c723 /src | |
| parent | a0e3a2ae8e2dc78b520b0bc42eb51a491bda38b0 (diff) | |
lint: Don't warn about non-camel case impl names
Impls are always named __extensions__ so this warning is bogus
Diffstat (limited to 'src')
| -rw-r--r-- | src/rustc/middle/lint.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustc/middle/lint.rs b/src/rustc/middle/lint.rs index 8afcab79444..d224a56628c 100644 --- a/src/rustc/middle/lint.rs +++ b/src/rustc/middle/lint.rs @@ -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, _) => { |
