rustup clippy build with latest rustc

(breakage due to 08f8faedd0 )

Fixes #3500
This commit is contained in:
Matthias Krüger
2018-12-06 16:38:32 +01:00
parent c4ef06a9b6
commit 45cbdf471d
2 changed files with 3 additions and 3 deletions

View File

@@ -970,7 +970,7 @@ pub fn opt_def_id(def: Def) -> Option<DefId> {
pub fn is_self(slf: &Arg) -> bool {
if let PatKind::Binding(_, _, name, _) = slf.pat.node {
name.name == keywords::SelfValue.name()
name.name == keywords::SelfLower.name()
} else {
false
}