1
Fork 0

Update to latest rust nightly

This commit is contained in:
Florian Hartwig 2015-11-19 15:51:30 +01:00
parent 31969a388e
commit 9511e6739d
10 changed files with 13 additions and 14 deletions

View file

@ -71,7 +71,7 @@ fn check_trait_items(cx: &LateContext, item: &Item, trait_items: &[P<TraitItem>]
fn check_impl_items(cx: &LateContext, item: &Item, impl_items: &[P<ImplItem>]) {
fn is_named_self(item: &ImplItem, name: &str) -> bool {
item.name.as_str() == name && if let MethodImplItem(ref sig, _) =
item.name.as_str() == name && if let ImplItemKind::Method(ref sig, _) =
item.node { is_self_sig(sig) } else { false }
}